Android Studio or Eclipse, opinion of an application developer? ‍♂️

eclipse vs android studio

Today we put Eclipse vs Android Studio face to face. For those who are starting in the development of android apps, it is important to be clear about which development environment is the best and most complete to start with the first application, that first project that one fine day, can become an app for mass use and for therefore, report economic benefits.

In this article, David, an app developer, specifically the creator of Puzzle adventure, describes which of those android development environments he has chosen for his projects and android applications.

¿Android Studio or Eclipse?, I have been programming with eclipse for 4 or 5 years, and I have always defended it against other development environments. At first I used NetBeans and I liked it a lot, but as a result of starting with android, I switched to eclipse.

Eclipse vs Android Studio, opinion of an application developer

Android Studio vs Eclipse

Since it came to light Android Studio, I have been wondering what reason there would be to change to this development environment and if it would be more of a thing for the new ones, or would also be adopting those who already work with eclipse. In any case, he did not find any major benefits.

But now, a few months and a couple of applications developed with Android studio, I have to admit that I have gone to the other side. My latest project is already started in Android Studio, I am getting familiar with it and everything points to the environment that I use from now on.

For reasons like:

  • It is the future.
  • In no time it will be the only thing the Android team recommends.
  • It is based on IntelliJ IDEA, one of the top level Java IDEs (among the best, with Eclipse, netbeans)
  • And what has really made me jump, is its new way of building apk. More serious, more versatile, more powerful, more current, and more similar to a Java project.

eclipse or android studio

And it is that Android Studio uses Gradle, whose advantages are clear:

  • It makes it very easy to reuse code and resources.
  • It makes it easy to configure, extend and customize the process.
  • It facilitates the distribution of the code and therefore work in teams.
  • Manage dependencies in a comfortable and powerful way (it is based on Maven).
  • It allows us to compile from the command line, which can save us on a machine in which we do not have the entire environment mounted.
  • And most importantly: It makes it incredibly easy to create different versions of the application, for example to make a multi-apk distribution, for different devices, or a free version and a paid version, or a trial version that loads different resources, points to different webservices, use different statistics, etc.

In short, we are facing a tool with much greater potential.

Here is a small manual to import your eclipse projects to Android studio. If you have started your project in eclipse, and you want to pass it to Android Studio, it is very simple.

Migrating from Eclipse to Android Studio

Here you have the official link (in English), to perform the migration from Eclipse to android studio.

Export from eclipse.

1. Update the ADT plugin to the latest version.
2. In Eclipse, select File> Export.
3. Open the Android section, you will see that a new option appears, Generate Gradle build files, select it.
4. Choose your project and click Finish.

As Android Studio works with Gradle, when generating the gradle files, we already have everything we need to import the project into Android Studio, or even to build it outside of any environment if necessary.

How to import it into Android Studio.

1. Close all projects.
2.    Click en Import Project.
3. Find the project in the path of the eclipse workspace.
4. Inside the project folder, select the build.gradle file and click OK.
5. In the next dialog, select Use gradle wrapper and press OK. (don’t worry about the other options)

With these 2 procedures, you will have your project migrated from the Eclipse development environment to Android Studio.

From here, we want to know your opinion about these 2 android development environments, if any of them is yours to create apps or if, on the contrary, you have a different one.

Deja un comentario