page.title=Migrating to Android Studio @jd:body

See also

If you're currently using Eclipse with ADT, we recommend you migrate to Android Studio as soon as possible, because the ADT plugin for Eclipse is no longer in active development.

To migrate existing Android projects from Eclipse, you should export your projects from Eclipse in order to generate Gradle build files:

  1. In Eclipse, select File > Export.
  2. Select Generate Gradle build files inside the Android folder, then click Next.
  3. Click Browse to find your project to export.
  4. Select your project from the list, click OK, then Finish.

You can then import the project into Android Studio:

  1. In Android Studio, close any projects currently open. You should see the Welcome to Android Studio window.
  2. Click Import Non-Android Studio project.
  3. Locate the project you exported from Eclipse, expand it, select the build.gradle file and click OK.
  4. In the following dialog, leave Use gradle wrapper selected and click OK. (You do not need to specify the Gradle home.)

It's possible to import an existing Android project to Android Studio even if you don't generate a Gradle build file from Eclipse—Android Studio will successfully build and run projects using an existing Ant build file. However, in order to take advantage of build variants and other advanced features in the future, you should generate a Gradle build file using the ADT plugin or write your own Gradle build file for use with Android Studio.

Learn more about Android Studio.