Over a million developers have joined DZone.

Migrating Project From Eclipse to Android Studio

Learn how to migrate an Eclipse project to Android Studio with this awesome tutorial.

· Mobile Zone

Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud, brought to you in partnership with IBM.

Android Studio is the official integrated development environment (IDE) to develop android apps. It was announced in 2013 Google I/O conference. Based on JetBrains’ IntelliJ IDEA software, Android Studio is designed specifically for Android development. It has replaced Eclipse Android Development Tools (ADT) as Google’s primary IDE for native Android application development. And, now it is strongly recommended to migrate the projects to Android Studio from ADT.

Migrating to Android Studio requires changing the structure of the project and moving to a new build system. Here is the link with instructions for migrating eclipse project to android studio:


Tired of reading a lengthy documentation? Well, I have a simpler way to migrate and here you go!

  1. Start off with a sample Android Studio project.
  2. Open android studio and create a new project (or) just download a ‘sample’ studio project here: https://github.com/AppLozic/eclipse-to-android-studio-migration.

Now, open the downloaded project in Android Studio by following the below instructions.

  1. Import eclipse project modules into Android Studio.
  2. Select File -> New -> Import Module

Image title

Next, select the path of the eclipse project and import the modules. In case, if you see the message “Failed to sync Gradle project,” then click on “Install Build Tools and sync project…”

Now, remove the sample project modules by following the below simple steps:

  1. Open settings.gradle and remove “include ‘:app’”
  2. Right click on “app” module and “Delete” it.

Now, what we have is the Eclipse project open in Android studio with the Gradle build.

Here are few other links which might help you:

Hope this helps. Have queries? Feel free to comment below, would be happy to answer/resolve.

Happy Coding!

The Mobile Zone is brought to you in partnership with Strongloop and IBM.  Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud.

android studio vs eclipse,android,eclipse,mobile

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}