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, 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.)
Android Studio properly updates the project structure and creates the appropriate Gradle build file.
To migrate existing Android projects, simply import them using 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.)
Android Studio properly updates the project structure and creates the appropriate Gradle build file.
0 comments:
Post a Comment