Google Android Studio Vs. Eclipse: Which Fits Your Needs?
Nerval's Lobster writes "Google's Android Studio is a development tool for Android based on the IntelliJ IDEA platform, one that managed to attract a lot of hype when it rolled out in mid-2013. Roughly a year later, the platform is still in 'early access preview,' and work on it is ongoing. Eclipse, on the other hand, is the granddaddy of IDEs; although it doesn't offer native Android support, it does have some nice tools to help you build Android applications—one such tool is the Google Plugin for Eclipse, made by Google. Developer and editor Jeff Cogswell compares Eclipse and its Google-made Google Plugin with Google's own Android Studio, developed with the help of the people who make IntelliJ IDEA. His verdict? Eclipse is beginning to show its age, especially when it comes to Android development, while Android Studio offers some noted benefits. 'Android Studio is still in preview mode, without an official release, even if that preview is in pretty fine shape—its status certainly shouldn't prevent you from using it, at least in my opinion,' he writes. Do you agree?"
I haven't done Android development, but IntelliJ IDEA has been ahead of Eclipse for ages, so this isn't surprising.
Eclipse was a good IDE (relative to others) for a brief period of time early in its life, give or take 10 years ago (i think?), and that was it. Everyone else quickly caught up, Visual Studio was brought up to speed (with plugins at least), IDEA came into the spotlight, and the only reason Eclipse was still popular was because it was a) it was free, b) people learnt it in school, c) people didn't even realize there was better IDEs out there for Java (and other non-Microsoft languages).
Android Studio > Eclipse.
What's wrong with notepad?
Get free satoshi (Bitcoin) and Dogecoins
> Eclipse, on the other hand, is the granddaddy of IDEs;
It isn't but that's okay.
Author sounds inexperienced, they must not use IntelliJ IDEA Ultimate
As soon as Google or some other company releases a platform for Android development similar to Netbeans, count me in. At this point, the process of getting Netbeans to work for Android development is just a complete hassle.
With a very biased verdict. Giving Android Studio the edge because of Gradle support? That's great- if you want to use gradle. I don't. I don't even know what it is- before Android Studio came out I'd never heard of it. And I have better things to do than play with build tools unless it offers a huge advantage- which it doesn't. The fact its impossible to use Android Studio without switching is a negative, not a positive as Eclipse supports both. The edge here should go to Eclipse for giving you choice between build systems.
UI? The UI that you know is better than one you don't- always. If I have to spend even an hour finding new options, that's an hour I'll probably never make back. Eclipse has lots of flaws, but I'm used to those. The real advantage here is Eclipse if you know it, or draw if you don't.
Basically his argument seems to boil down to he likes new shiny stuff. No thanks.
I still have more fans than freaks. WTF is wrong with you people?
I've been using Eclipse since it had its genesis within IBM, so despite it's warts, I'm pretty used to it. I do like what I see in the Android Studio though, I'm just waiting for it to come out of beta.
OK, maybe not "Dummies" persay, but people like myself who would like to at least wet our beaks in app development, but know approximately dick about good coding practices? Or coding in general?
Having set up both, I'd say Android Studio probably fits the needs of the total noob moreso than Eclipse, but what do I know? I'm a coding noob.
An enigma, wrapped in a riddle, shrouded in bacon and cheese
I use pretty much every editor you can imagine. I miss it when programming in c++ .
Intellij is proof you can make very fast editor in java.
Android4Basic: http://www.basic4ppc.com/
I don't have a problem with Eclipse, but Android development as a whole is pretty terrible from my point of view. I've tried a few times to make an app, and I just found the whole process quite terrible.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
I'd love to love Android Studio, but on my PC it's slower than molasses going uphill on crutches. I also can't figure out how to set up an environment in Android Studio that allows me to mix java projects with android projects or use maven to manage my projects. Admittedly that took a while to figure that out with Eclipse as well.
Care to elaborate? My (very limited) experience is only with desktop programming, but I'd like to know what the problem with Android (or any other mobile platform) development is.
Technically, isn't EMACS the granddaddy of all IDEs? In comparison, Eclipse is 'Johnny Come Lately'.
Lodragan Draoidh
The more you explain it, the more I don't understand it. - Mark Twain
All my Android development has been done with vi. Works with all languages and APIs. Works on all platforms. Works the best.
I used Eclipse to develop an Android app back in the days of Android 2. They other day I downloaded and installed Android Studio so that I could create a simple app. Android Studio did have designer (in Eclipse I did all layout in xml, but I believe Eclipse has a designer too.) The main issue I had with Android Studio is that it would just disappear all of the sudden. One minute it was there and the next it was gone.
Coder's Stone: The programming language quick ref for iPad
I would start complaining by incredibly slow Android simulator. Example: open virtual keyboard on that virtual device. Press any key. After three seconds, letter appears on virtual screen. Three seconds wait time for one key press. I'm not exaggerating.
The rest of it is not much faster.
Am I the only person who has written several Android apps (on more than 1x10^6 devices) with ant, my favorite editor, and my own custom tools? I find any IDE maddeningly limiting.
The eclipse "export" to gradle function barely works. Importing an eclipse project into Android Studio doesn't really work either. If you create a build.gradle file, that gets you further along, but things in Android Studio still behave funny especially with identifying the "modules." In the end, if you're looking at migrating I strongly recommend just creating a new project and copying your source and resource files into the latest android file structure and gradle build system.
My first job involved Java and I used Eclipse for that. In the meantime, I spot another job which involves C++, Python and Objective-C. Recently I wanted to quickly hammer out an Android app and I was pleasantly surprised by Android Studio. In three days, I got a basic five-screen app running to display a JSON-pooping web service.
It works like you expect a modern IDE to work. And that's all I needed.
8 of 13 people found this answer helpful. Did you?
I liked it better than Eclipse, no separate Android SDK installation/package manager to maintain. I just download and it worked. The UI is a little nicer.
However it doesn't solve my big complaints about Android IDEs in general:
1) Native code development still sucks. It sucks less on Eclipse (as in it exists at all on Eclipse), but it's a pain to set up, a pain to use, and a pain to debug. I actually just gave up on it attaching the debugger, and starting adding logging to me native code. Seriously Google, if you want me to start taking Android seriously for developing big performance sensitive things, some decent tools for C/C++ development would be good.
2) The build system... I don't know what's up with Android Studio defining it's own project format, and then on top of that adding a build system with build system files beneath it. I still have projects that open and build, but tell me the build system is set up wrong. The one thing I like about Xcode is the project and the build manifest are the same file. I'm not maintaining a project that then manages some Gradle config or something. I mean, if I want to I can add an external build system to Xcode. But most of the time I don't need that level of build management. If Android really wants to go the external build system route, just automatically generate the stuff I need every time I hit build so I don't have to worry about checking it in to source control. I don't care if it's spinning an Gradle config off just as long as I don't have to see it and worry about it. If I want to manually grab a Gradle config to throw at some other build system, make it optional.
3) The analyzer tools compared to the iOS toolchain just aren't anywhere near good enough. The data the tools do give back out is presented poorly compared to Apple's Instruments tool, and I've never gotten the tools working for native code, which is usually where I spend the most time caring about performance.
4) This isn't as much a complaint about the tools as much as Android, but Android is just behind in general on performance toolkits. Apple has a great NEON optimized toolkit in Accelerate for DSP and image work. There is no equivalent on Android, although 5 years in, a few open source projects are finally starting up around putting together a NEON accelerated library of functions.
5) x86 Android Emulator with native GPU support. It exists, but it's usually not as well maintained. There are some third party tools trying to fill that gap, but c'mon guys. That's a basic necessity. An ARM based emulator is great for simulating actual ARM calls, but most of the time I'd rather be in the x86 emulator.
I tried to use Android Studio a few times in the early days but could never get it to launch. Failed with non-helpful errors and none of the solutions
Full disclosure - I'm an inactive Eclipse committer so while one might argue I have a dog in the race I should also be competent enough to get it to run!
I've been an Android developer for 3 years, I've used eclipse extensively as well as Android Studio extensively. Android Studio kicks the pants off of Eclipse. The simple truth you don't realize how painful and terrible the whole Eclipse experience is until you've switched. It solved a ton of my pain points and I would never consider going back. All of my projects have been converted to Gradle, and the savings I receive from that build system are remarkable. It has its own pain points (mostly due to being a pre-1.0 release. Builds break from update-to-update, weird issues arise trying to go from eclipse to Android Studio. Gradle doesn't fully support native. So there are definitely use cases where Eclipse is still a necessary evil. But if you can go the route of Android Studio do it, you'll thank me later.
I agree with this, the simulator is horribly slow, even on a core i7 with 12GB of RAM. I guess the arm emulation is not very well optimized.
I've been an Android developer for three years now. Android Studio has impressed me very much and I've used it every day for the last six months.
It's miles ahead of Eclipse in terms of useability and features.
Android Studio actually makes the coding more fun, as I don't have to spend so much time on the boring and annoying bits!
The second place goes to Intellij IDEA, in my opinion.
I can see no reason to use Eclipse unless you need C-language support for NDK development. :)
Eclipse doesn't integrate with Google's new Gradle-based build tools for Android. It blows the old ant-based build-tools out of the water.
If you're still using the old on ant/maven build tools for Android, you have a enjoyable experience to look forward to after migrating
I switched to Android Studio right after it came out, mostly because my Eclipse install needed to be updated- which usually means having to reinstall the Android SDK and re-import my projects (a chore).
It ended up being some serious work to import my projects to Android Studio. I wouldn't recommend it if Eclipse is still working smoothly for you.
The main thing I like about Android Studio is that I heavily use RubyMine for server-side work and the interface is nearly identical.
The other big advantage is that all the config files are a lot more transparent and repairable than those used by Eclipse.
Gradle is much more transparent and portable than Eclipse's build system, but it's still pretty frustrating how slow it is. I think moving to Android Studio/Gradle doubled my build times.
Finally, Android Studio is still pretty unstable and it usually takes an hour or two of surgery to get my project to run again after an upgrade.
pi = 3.141592653589793helpimtrappedinauniversefactory7
I've found it runs much faster if you emulate an x86 processor and enable host GPU support.
I agree to a certain extent. Unfortunately, the Android support in Netbeans is severely lacking, and that's the UI I know (and love).
I tried switching to Android Studio, because I needed to change one of my employer's apps to have different flavours (paid, free etc). They basically differed in what features would be available, and it looked like Gradle would make this simple without making multiple projects. Unfortunately, I had a horrendous time figuring out how to get it to actually build the app in the first place, because it always complained that it couldn't find a library project, even though I made sure to link to it. I ended up having to give up and continue using eclipse, splitting the project up into four projects (only one of which was substantial), because my bosses always want everything yesterday.
In a nutshell, Android is Java on a Linux base with Java libraries for "system" calls, and (usually) lots of description of interface elements via XML.
I've been an Android developer for over 5 years, I've been using Eclipse for Java development almost since it came out. If Android Studio is better, I won't argue, I don't know. But i'll stick with Eclipse for a while, before I spend considerable time on changing my IDE. Maybe I'll give it a try on my next Android project, or maybe not.
no, I don't have a sig
CMake + ninja + emacs is my goto tool set. Even for Android.
QtCreator works surprisingly well for Android, in my opinion. But it still ain't emacs.
Gradle is google saying you have too much spare time. Incompatible plugins - the google supplied plugin has literally changed twice in the last week.
Look through stack overflow, etc. The amount of productivity lost to chasing gradle is astonishing. Go ahead, write unit tests for Android in Gradle. I dare you.
Google should have put some thought to a maven plugin. Or just some thought. Introduced at last Google I/O and typical Google still in beta (and broken).
Android Studio shows some promise, but is also incomplete. Especially if you use NDK. Or build library modules. Or do real work.
If you are an early adopter of shiny toys, I hope you have time on your hands.
Heh yeah I tried installing that on my Mac. Intelli-J even offers a nice installation as a plugin. First, it simply didn't start and it turns out that the plugin installation will install an old version. Okay then I'll download it manually. That installed a kernel driver which crashed my OSX laptop.
I gave up and continued using the dog slow emulator.
8 of 13 people found this answer helpful. Did you?
Which is why you should use the x86(intel atom) version instead of the arm version. It is much much much faster. Once you have downloaded the atom version, you can choose between arm and intel when creating a new emulator.
Why Google have chosen "download arm only" as the default, I really don't understand. But this is a case studio in "Defaults matter".
I have been using IDEA Community 13 so not the Google specific package for Android devel work. As someone who had never used an IDEA of this level of sophistication, I found an initial week trial run of both IDEA and Eclipse left me favoring IDEA and have not looked back. I did briefly toy with Netbeans which seems a nice environment but was lacking in android focus so I did not put effort into exploring it more fully.
Also, while I can't speak for the Eclipse community, the IDEA support and bug community have been very responsive.
are you using the Intel HAXM speed up? Emulator on intel hardware should be more than usable.
Neither support debugging with NDK.
android has absolutely 0 support for it.
some people have apparently gotten NDK debugging working in eclipse. i've tried every example on the web and have been unsuccessful in ever getting ndk debugging working. maybe oneday google will realize ndk support is worth a damn.
Vi, bah, you kids...
Excuse me, but please get off my Pennisetum Clandestinum, eh!
Learn the language first .... then worry about the IDE.
Your Java based IDE ... called IDEA (the company) IntelliJ (the product) installed a "kernel driver" (what ever that is supposed to mean) on Mac OS X on your Laptop?
Sorry, that idea is completely retarded.
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
I'm on a core i5 at work, and the CPU is damn fast, but the entire Eclipse UI is slow. Closing a tab takes a noticeable amount of time, even for files that fit on the screen. And my biggest complaint is that somehow this glorified text editor is capable of halting my machine when it tries to auto-complete. How a Java app can do that is beyond me.
Then when I first start it up, it complains that my project has "problems". It's just not done loading it yet. Refesh, its gone.
I have yet to like any java app or servlet. The GU library is ugly and slow. I like the language well enough, but anything done is java is just terrible.
Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
Eclipse is well architected and tries to be the end-all be-all solution. JetBrains bothers to focus on some configuration management and cuts numerous releases. The consequence is IDEs that work. Great move on Google's part.
I've tried out pretty much every release of Android Studio so far, but every time I'm stopped by the fact that IDEA doesn't (correctly) support remapped home directories on Windows. Have a home directory or a project living on a UNC path? You're SOL. It baffles me that a company that makes an IDE as otherwise nice as IDEA can't get the URI api usage right after a good part of a decade.
You can configure idea to use local directories for preferences and logs, but that doesn't fly when using roaming profiles. The Android Gradle basically explodes when trying to create a new project on a machine with remote home directory, and so far no one on the tools team seems interested in fixing it. Coupled with the constant stream of buggy ADT releases (avd manager can't create avd, x86 image shipped with broken Google APIs), I'm not getting a good feeling about the future of Android tools, especially in the enterprise.
Done many projects with Android Studio and had to switch back to Eclipse. Almost every time the Android Studio updates itself, it breaks the compilation ability of your project. Nevertheless, Android Studio is way better than Eclipse and as soon as a more stable version is released i will definitely switch back!
Ant is not a build system, it is just a series of blind tasks. I real build system creates a top-down view and then executes it efficiently, only building what is needed. The only value that ant has over bash is that it runs on all platforms java supports.
Why _wouldn't_ you want to "mess" with gradle? To create my first release build for the play store I couldn't trust what the IDE wanted to do, but I could trust a small readable Gradle script to build my first true release build and every build after that.
Even the free community edition supports Android development. No need for the Android Sudio thingy, i've been using IntelliJ for ages.
As for Eclipse, I don't think I have a computer powerful enough to run it. It's only a Core i7 with 32 Gb ram
I apologize for the lack of a signature.
I was a huge eclipse champion but it was so frustratingly broken for years and the trend was moving in the wrong direction that I was willing to put up version 0.35 of AS and now I'm an AS champion doing things with build variants that I could never do before.
" Eclipse, on the other hand, is the granddaddy of IDEs" So Visual Studio must be the dinosaur of IDEs.
I've tried the x86 version, and while it is faster, it still runs slower than it does on a native phone, or it is at least much more intensive than it would be running on a native x86/atom device. I thought that Android used a VM anyway, so there should be no need to debug on an ARM emulator or even some Atom VM unless you are debugging with bugs specific to the platform.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
Question presents a false dichotomy, that one or the other fits my needs. Neither does. BTW, I am an Android programmer. No IDE does anything but get between me and the code I'm writing.
Why do u want to develop in a 2nd rate IDE when u can have all the sweetness of C# and Xamarin studio and target all platforms at once??
Do I agree? I've been using AStudio since the first preview came out after I/O, and after using it for 5 minutes it became clear to me that I'll never go back to frustrate myself with eclipse, ever. I don't mean to offend to good people who develop eclipse, but the damn thing gave me so many headaches over the time I had to use it, that dropping it felt like recovering from a long illness, honestly. Of course, there are lots of people who like it, obviously I'm not one of them. Regarding AStudio, if you didn't try it up to now, I think it's time, since it really matured from its first preview release, and while there can be some big changes between updates causing some minor trouble, it's already pretty good, and I think it's pretty clear it'll be the best IDE for android development.
It'll take you some time to switch from eclipse though, getting used to doing things a bit differently, so don't plan to do it overnight. First I kept using eclipse for existing projects, and using AS for new ones, then at some point I moved everything to AS and never looked back.
I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
First world problems.. Eclipse is fine. Emacs is fine. Vim is fine. Just code and quit your crying. All this talk about IDE's and you could have had something compiling by now. Developers these days... cripes!