Why is Android Studio still such a gruesome embarrassment?

Comment

Image Credits:

About twice a year, I get involved in a project that requires me to do some Android development; so, about twice a year, I re-launch Google’s so-called integrated development environment, Android Studio, with fingers crossed… and twice a year I find myself wincing with bitter disappointment, as I rediscover that it still has all the elegant, intuitive simplicity of a Rube Goldberg machine.

Let me hasten to stress that I’m not an OS partisan, or, to the extent that I am, I’m inclined toward Google. All my own smartphones have been Androids. I’ve been writing Android apps, both professionally and for fun, since 2009, when I first bought an HTC Magic. All my phones since have also been Android: Galaxy S2, Nexus 4, Moto X and my shiny new Pixel.

But, I also write iOS and tvOS apps; and despite my abstract disapproval of Apple’s hegemonic attitude toward software, whenever I launch its IDE XCode, I breathe a little easier. It’s fast. It’s slick. And even when it fails to be helpful, it rarely actually gets in my way — something which, as far as I can tell, is Android Studio’s fundamental core competency.

For instance: I have never actually succeeded at using its visual tools to lay out elements on a screen. I’m sure it’s theoretically possible; but every time I’ve tried, I’ve gotten so frustrated that I’ve just given up and written raw XML layout files instead. I have it on good authority that I am not alone in this. In XCode, conversely, I drag and drop with abandon and glee.

Out of the box, Studio doesn’t auto-import Java classes for me; the setting for doing so is buried deep within its impenetrable labyrinth of menus. Out of the box, Studio doesn’t tell me how to load any of the zillion support libraries I probably need, nor how to get Android’s (still painfully slow) emulator running. The secrets to both of these things are buried, believe it or not, in the “Android” submenu under the “Tools” menu. Think about that for a moment. Why does Google’s flagship Android development tool have a “Tools / Android” menu? Isn’t the whole thing an Android tool? Shouldn’t these key elements be first-class citizens?

One problem, of course, is that Android Studio was not built from scratch; it’s based on the long-in-the-tooth IntelliJ IDEA platform, a Java IDE… and, well, you can tell. It feels like fifteen-year-old software, and it’s all too apparent that it was adapted to, rather than built for, Android development. (Again: “Tools / Android.”) And, of course, it’s written in Java, which makes it multi-platform… but slow.

It’s true that the Android ecosystem itself is clumsy and complex, fragmented into a dizzying plethora of versions of various libraries and SDKs. It’s true that, for instance, the Gradle build tool is famously developer-hostile. (Although building is just hard; Apple’s build tools don’t exactly hold your hand either.) But a better-designed IDE could at least mitigate this. It’s true that XCode only has to run on one operating system, Apple’s, whereas Android Studio must be multi-platform. But surely Google, of all companies, has the resources to support native code on multiple platforms.

It is truly remarkable that a hypermonied behemoth the size of Google decided to go this slow, kludgy, ugly route for a flagship development environment for its mobile platform with well over a billion active installs. The negative effects are numerous. Better tooling is one reason iOS development is faster and more efficient. Developers comfortable in both ecosystems prefer iOS to Android because it’s easier to work with, and so we help influence much smartphone software to be iOS-first, with Android as a second-class after thought. Android apps famously tend to be buggier than iOS, and it’s hard to believe that the IDE has nothing to do with that.

Most of all, though, albeit most selfishly, if Google’s IDE were better, it would push Apple’s to improve. XCode is far from perfect. It crashes. It hangs. But even with those flaws, iOS development is so much less painful than Android development that there is really no comparison. (Well, until you try to deploy. Then, Android is painless; Apple’s improved-but-still-all-too-often-Kafkaesque process for building, signing, uploading, submitting and waiting for approval for even beta test builds is one that frequently inspires deep rancor and resentment in every iOS developer I know.)

Of late, though, I say with a kind of skeptical anticipation, for the first time in years, there is some real competition. This has long been true for .NET programmers, courtesy of Xamarin, recently acquired by Microsoft, which lets you write .NET code and build native apps for both Android and iOS. But nowadays, Facebook’s React Native is becoming a realistic solution for building cross-platform native apps without having to write (much) native code… and, therefore, without having to use either Android Studio or XCode.

I’m not saying either will go away. But it’s nice to see somebody at least trying to elbow their way past Apple and Google’s de facto developer gatekeepers. They, especially the latter, have grown complacent for lack of competition. Let’s see how they react to React.

More TechCrunch

As Uber gears up for the summer travel season, the company announced Tuesday a new feature to ease the planning process for riders. The feature offers a convenient way for…

Uber just added a way to search for rides in other cities— here’s how to use it

Featured Article

Toddle wants to ‘change how we build software’ with a collaborative visual web app builder

Danish startup Toddle has launched a no-code web app builder that’s designed as a full-featured alternative to Javascript frameworks.

Toddle wants to ‘change how we build software’ with a collaborative visual web app builder

If you’ve ever bought a sofa online, have you thought about the homes you can see in the background of the product shots? When it’s time to release a new…

Presti is using GenAI to replace costly furniture industry photo shoots

Google has become one of the latest investors in Moving Tech, the parent firm of Indian open-source ride-sharing app Namma Yatri that is quickly capturing market share from Uber and…

Google backs Indian open-source Uber rival

These messaging features, announced at WWDC 2024, will have a significant impact on how people communicate every day.

At last, Apple’s Messages app will support RCS and scheduling texts

iOS 18 will be available in the fall as a free software update.

Here are all the devices compatible with iOS 18

The tests indicate there are loopholes in TikTok’s ability to apply its parental controls and policies effectively in a situation where the teen user originally lied about their age, as…

TikTok glitch allows Shop to appear to users under 18, despite adults-only policy

Lhoopa has raised $80 million to address the lack of affordable housing in Southeast Asian markets, starting with the Philippines.

Lhoopa raises $80M to spur more affordable housing in the Philippines

Former President Donald Trump picked Ohio Senator J.D. Vance as his running mate on Monday, as he runs to reclaim the office he lost to President Joe Biden in 2020.…

Trump’s VP candidate JD Vance has long ties to Silicon Valley, and was a VC himself

Hello and welcome back to TechCrunch Space. Is it just me, or is the news cycle only accelerating this summer?!

TechCrunch Space: Space cowboys

Apple Intelligence features are not available in the developer beta, which is out now.

Without Apple Intelligence, iOS 18 beta feels like a TV show that’s waiting for the finale

Apple released the public betas for its next generation of software on the iPhone, Mac, iPad and Apple Watch on Monday. You can now test out iOS 18 and many…

Apple’s public betas for iOS 18 are here to test out

One major dissenter threatens to upend Fisker’s apparent best chance at offloading its unsold EVs, a deal that would keep the startup’s bankruptcy proceeding alive and pave the way for…

Fisker has one major objector to its Ocean SUV fire sale

Payments giant Stripe has delayed going public for so long that its major investor Sequoia Capital is getting creative to offer returns to its limited partners. The venture firm emailed…

Major Stripe investor Sequoia confirms $70B valuation, offers its investors a payday

Alphabet, Google’s parent company, is in advanced talks to acquire Wiz for $23 billion, a person close to the company told TechCrunch. The deal discussions were previously reported by The…

Google’s Kurian approached Wiz, $23B deal could take a week to land, source says

Name That Bird determines individual members of a species by identifying distinguishing characteristics that most humans would be hard-pressed to spot.

Bird Buddy’s new AI feature lets people name and identify individual birds

YouTube Music is introducing two new ways to boost song discovery on its platform. YouTube announced on Monday that it’s experimenting with an AI-generated conversational radio feature, and rolling out…

YouTube Music is testing an AI-generated radio feature and adding a song recognition tool

Tesla had internally planned to build the dedicated robotaxi and the $25,000 car, often referred to as the Model 2, on the same platform.

Elon Musk confirms Tesla ‘robotaxi’ event delayed due to design change

What this means for the space industry is that theory has become reality: The possibility of designing a habitation within a lunar tunnel is a reasonable proposition.

Moon cave! Discovery could redirect lunar colony and startup plays

Get ready for a prime week of savings at TechCrunch Disrupt 2024 with the launch of Disrupt Deal Days! From now to July 19 at 11:59 p.m. PT, we’re going…

Disrupt Deal Days are here: Prime savings for TechCrunch Disrupt 2024!

Deezer is the latest music streaming app to introduce an AI playlist feature. The company announced on Monday that a select number of paid users will be able to create…

Deezer chases Spotify and Amazon Music with its own AI playlist generator

Real-time payments are becoming commonplace for individuals and businesses, but not yet for cross-border transactions. That’s what Caliza is hoping to change, starting with Latin America. Founded in 2021 by…

Caliza lands $8.5 million to bring real-time money transfers to Latin America using USDC

Adaptive is a platform that provides tools designed to simplify payments and accounting for general construction contractors.

Adaptive builds automation tools to speed up construction payments

When VanMoof declared bankruptcy last year, it left around 5,000 customers who had preordered e-bikes in the lurch. Now VanMoof is up and running under new management, and the company’s…

How VanMoof’s new owners plan to win over its old customers

Mitti Labs aims to transform rice farming in India and other South Asian markets by reducing methane emissions by 50% and water consumption by 30%.

Mitti Labs aims to make rice farming less harmful to the climate, starting in India

This is a guide on how to check whether someone compromised your online accounts.

How to tell if your online accounts have been hacked

There is a general consensus today that generative AI is going to transform business in a profound way, and companies and individuals who don’t get on board will be quickly…

The AI financial results paradox

Google’s parent company Alphabet might be on the verge of making its biggest acquisition ever. The Wall Street Journal reports that Alphabet is in advanced talks to acquire Wiz for…

Google reportedly in talks to acquire cloud security company Wiz for $23B

Featured Article

Hank Green reckons with the power — and the powerlessness — of the creator

Hank Green has had a while to think about how social media has changed us. He started making YouTube videos in 2007 with his brother, novelist John Green, at a time when the first iPhone was in development, Myspace was still relevant and Instagram didn’t exist. Seventeen years later, posting…

Hank Green reckons with the power — and the powerlessness — of the creator

Here is a timeline of Synapse’s troubles and the ongoing impact it is having on banking consumers. 

Synapse’s collapse has frozen nearly $160M from fintech users — here’s how it happened