page.title=Migrating to Android Studio @jd:body
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:
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.
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.