Migrating to Android Studio

If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates.

To migrate existing Android projects, simply import them using Android Studio:

  1. In Android Studio, from the main menu or the Welcome to Android Studio page, choose File > Import Project.
  2. Select the Eclipse root project directory and click OK.

    Note: The Eclipse root directory must contain the AndroidManifest.xml file. Also, the root directory must contain either the .project and .classpath files from Eclipse or the res/ and src/ directories.

  3. Follow the steps in the import wizard.

Android Studio imports the current dependencies, downloads libraries, and creates an Android Studio project with the imported Eclipse project as the main module. Android Studio also creates the required Gradle build files.

The import process replaces any JAR files and libraries with Gradle dependencies, and replaces source libraries and binary libraries with Maven dependencies, so you no longer need to maintain these files manually.

Note: If there are references to Eclipse workspace library files, comment them out in the project.properties or .classpath files that you imported from the Eclipse project. You can then add these files in the build.gradle file. See Configuring Gradle Builds.

For more help getting started with Android Studio and the IntelliJ user experience, learn more about Android Studio and read FAQ on Migrating to IntelliJ IDEA.