{"id":333741,"date":"2017-02-19T22:00:18","date_gmt":"2017-02-19T14:00:18","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1453560"},"modified":"2017-02-19T22:00:18","modified_gmt":"2017-02-19T14:00:18","slug":"why-is-android-studio-still-such-a-gruesome-embarrassment","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/why-is-android-studio-still-such-a-gruesome-embarrassment\/","title":{"rendered":"Why is Android Studio still such a gruesome embarrassment?"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=738\" class=\"\"\/><\/p>\n<p>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\u2019s so-called integrated development environment, Android Studio, with fingers crossed; \u2026and 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.<\/p>\n<p>Let me hasten to stress that I\u2019m not an OS partisan, or, to the extent that I am, I\u2019m inclined towards Google. All my own smartphones have been Androids. I\u2019ve 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.<\/p>\n<p>But I <em>also<\/em> write iOS and tvOS apps; and despite my abstract disapproval of Apple\u2019s hegemonic attitude towards software, whenever I launch its IDE XCode, I breathe a little easier. It\u2019s fast. It\u2019s slick. And even when it fails to be helpful, it rarely actually <em>gets in my way<\/em> \u2014 something which, as far as I can tell, is Android Studio\u2019s fundamental core competency.<\/p>\n<p>For instance: I have never actually succeeded at using its visual tools to lay out elements on a screen. I\u2019m sure it\u2019s theoretically possible; but every time I\u2019ve tried, I have gotten so frustrated that I have 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.<\/p>\n<p>Out of the box, Studio doesn\u2019t 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\u2019t tell me how to load any of the zillion support libraries I probably need, nor how to get Android\u2019s (still painfully slow) emulator running. The secrets to both of these things are buried, believe it or not, in the \u201cAndroid\u201d submenu under the \u201cTools\u201d menu. Think about that for a moment. Why does Google\u2019s flagship Android development tool have a \u201cTools \/ Android\u201d menu? Isn\u2019t the <em>whole thing<\/em> an Android tool? Shouldn\u2019t these key elements be first-class citizens?<\/p>\n<p>\u2026One problem, of course, is that Android Studio was not built from scratch; it\u2019s <a target=\"_blank\" href=\"https:\/\/blog.jetbrains.com\/blog\/2013\/05\/15\/intellij-idea-is-the-base-for-android-studio-the-new-ide-for-android-developers\/\">based on<\/a> the long-in-the-tooth IntelliJ IDEA platform, a Java IDE \u2026 and, well, you can tell. It <em>feels<\/em> like fifteen-year-old software, and it\u2019s all too apparent that it was adapted to, rather than built for, Android development. (Again: \u201cTools \/ Android.\u201d) And, of course, it\u2019s written in Java, which makes it multiplatform \u2026 but slow.<\/p>\n<p>It\u2019s true that the Android ecosystem itself is clumsy and complex, fragmented into a dizzying plethora of versions of various libraries and SDKs. It\u2019s true that, for instance, the Gradle build tool is famously developer-hostile. (Although building is just hard; Apple\u2019s build tools don\u2019t exactly hold your hand either.) But a better-designed IDE could at least <em>mitigate<\/em> this. It\u2019s true that XCode only has to run on one operating system, Apple\u2019s, whereas Android Studio must be multiplatform. But surely Google, of all companies, has the <a target=\"_blank\" href=\"https:\/\/techspecs.blog\/blog\/2017\/2\/14\/googles-not-so-secret-new-os\">resources<\/a> to support native code on multiple platforms.<\/p>\n<p>It is truly remarkable that a hypermonied behemoth the size of Google decided to go this slow, kludged, ugly route for a flagship development environment for its mobile platform with well over a <em>billion<\/em> 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\u2019s 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\u2019s hard to believe that the IDE has nothing to do with that.<\/p>\n<p>Most of all, though, albeit most selfishly, if Google\u2019s IDE were better, it would push Apple\u2019s 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\u2019s 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.)<\/p>\n<p>Of late, though, I say with a kind of skeptical anticipation, for the first time in years, there <em>is<\/em> some real competition. This has long been true for .NET programmers, courtesy of <a target=\"_blank\" href=\"https:\/\/www.xamarin.com\/\">Xamarin<\/a>, recently acquired by Microsoft, which lets you write .NET code and build native apps for both Android and iOS. But nowadays Facebook\u2019s <a target=\"_blank\" href=\"https:\/\/facebook.github.io\/react-native\/\">React Native<\/a> is becoming a realistic solution for building cross-platform native apps without having to write (much) native code \u2026 and therefore without having to use either Android Studio or XCode.<\/p>\n<p>I\u2019m not saying either will go away. But it\u2019s nice to see somebody at least trying to elbow their way past Apple and Google\u2019s de facto developer gatekeepers. They, especially the latter, have grown complacent for lack of competition. Let\u2019s see how they react to React.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"340\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"android-studio-logo\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png?w=768 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/android-studio-logo.png 800w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;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&#8217;s so-called integrated development environment, Android Studio, with fingers crossed; &#8230;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&hellip; <a href=\"https:\/\/techcrunch.com\/2017\/02\/19\/why-is-android-studio-still-such-a-gruesome-embarrassment\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:2mJPEYqXBVI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=2mJPEYqXBVI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=_bdWxS_dUEw:CrsRSRHGTlI:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=_bdWxS_dUEw:CrsRSRHGTlI:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=_bdWxS_dUEw:CrsRSRHGTlI:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Techcrunch\/~4\/_bdWxS_dUEw\" height=\"1\" width=\"1\" alt=\"\"\/> <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25],"tags":[59,66,26],"class_list":["post-333741","post","type-post","status-publish","format-standard","hentry","category-technology","tag-media","tag-techcrunch","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/333741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=333741"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/333741\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=333741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=333741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=333741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}