Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between android studio and the eclipse version bundled with android SDK

I don't have experience in android development and I'd like to start writing an application.

The official developer tools page contains link to two different IDEs. The first contains a bundled ADT version of Eclipse. Android Studio, the second IDE, is based on IntelliJ.

Apart from these differences I can't get if there is anything that I can do with only one of them (I guess the answer to this question is no) and what's the point of having two distinct official IDEs.

What are the differences between the two?

like image 209
mariosangiorgio Avatar asked Oct 02 '13 12:10

mariosangiorgio


People also ask

What is the difference between Eclipse and Android Studio?

Android Studio is faster than Eclipse. There is no need to add a plugin to Android Studio but if we use Eclipse then we do need to. Eclipse needs many resources to start but Android Studio does not. Android Studio is based on IntelliJ's Idea Java IDE and Eclipse uses the ADT Plugin to develop Android applications.

What is the difference between Android Studio and Android SDK?

Android SDK belongs to "Frameworks (Full Stack)" category of the tech stack, while Android Studio can be primarily classified under "Integrated Development Environment".

Can I use Eclipse with Android Studio?

Import as a project: Start Android Studio and close any open Android Studio projects. From the Android Studio menu click File > New > Import Project. Alternatively, from the Welcome screen, click Import project (Eclipse ADT, Gradle, etc.).

Which SDK is best for Android Studio?

Get Android Studio The Android 11 SDK includes changes that are not compatible with some older versions of Android Studio. For the best development experience with the Android 11 SDK, use Android Studio 4.2 or higher.


2 Answers

The first contains a bundled ADT version of Eclipse.

This is simply a packaging convenience. You are welcome to obtain Eclipse separately and add Android tooling to it.

Android Studio, the second IDE, is based on IntelliJ.

At the present time, this is an early-access preview. IMHO, it is not suited for someone who does not have experience in Android application development.

Apart from these differences I can't get if there is anything that I can do with only one of them

At the present time, Android Studio is an early-access preview, meaning that there are lots of things that it does not have integrated in. Now, by this time next year, and hopefully far sooner, Android Studio will have equivalent or superior integration than does Eclipse with the ADT plugin.

and what's the point of having two distinct official IDEs.

There are an infinite number of "official" tools. You are welcome to use a plain text editor and tools outside of any IDE, for example.

You are welcome to watch the Google I|O 2013 video on developer tools, where they describe a bit of the rationale behind the development of Android Studio.

like image 130
CommonsWare Avatar answered Oct 27 '22 06:10

CommonsWare


Android Studio vs Eclipse – Main Differences:

Build Tools

Android Studio utilizes the fast growing Gradle build system. It builds on top of the concepts of Apache Ant and Apache Maven but it also introduces a Groovy DSL (Domain-Specific Language) that allows for scripted builds which opens up many automation possibilities like uploading your beta .apk to TestFlight for testing. Eclipse on the other hand uses Apache Ant as its main build system which a very robust XML based build system that many Java developers may already be familiar with.

Advanced Code Completion/Refactoring

Both IDEs feature the standard Java code auto completion but in the case of Android Studio, Google has baked in deeper support for specific Android code and refactoring. Android Studio can refactor your code in places where it’s just not possible using Eclipse and ADT. In addition, in my opinion IntelliJ’s Java auto completion seems more “intelligent” and predicts better what I want to do so there is definitely an improvement in this area over Eclipse.

User Interface Design

One of the main selling point Google used to market Android Studio when it came out was its completely redesigned user interface design tool. After working with it for some time, it’s clear that the new tool is much better than the old. It literally crashes it. The new interface design too in Android Studio is faster, responds to changes more rapidly and has more customization options that with Eclipse, you had to manually set in the XML.

Project Organization

Both IDEs work differently in an effort to help you manage and organize your projects. If you’ve used Eclipse then you must be familiar with the concept of workspaces. When Eclipse starts, you select the workspace that contains your projects and you can load all project of that workspace in your tree navigation. If you want to switch to a project in a different workspace, then you have to restart the whole IDE. Android Studio treats this situation differently by introducing the concept of modules. Your app could be one module, a library that you just downloaded can be another and the Ad SDK you are currently integrating could be a third. Each of these modules can have their own Gradle build files and declare their own dependencies. To me, Android Studio seems more natural but it takes some time to get used to if you have been using Eclipse for a long time.

IDE Performance/Stability

Eclipse is a purely Java based software, and a big one. In order to run it reliably you need to have more than decent amount of RAM and good CPU power to back it up. Many user who do not strictly meet these criteria are reporting very bad experiences with it. It is not unusual for Eclipse to crash while exporting an apk or having to restart it after using it for a few hours straight. Having said that, Android Studio is still in beta so it comes with its own bugs that crash the IDE every now and then but in the meanwhile, the whole experience feels faster and more robust.

Conclusion

Having used both Android Studio and Eclipse for a while now, I would personally say that Android Studio has the edge over the two. It might be a bit unstable yet and some updates require a complete re-installation of the software but when it eventually comes out of beta, it will blow Eclipse with ADT out of the water. I especially like the stability of the editor and not having to reboot every now and then, the new and improved UI designer and the sexy themes that make Android Studio a real eye candy. What side will you take in the Android Studio vs Eclipse battle?

like image 36
Abhishek Tamta Avatar answered Oct 27 '22 05:10

Abhishek Tamta