The next center of gravity will be the translation of the official Android Studio documentation series on Android studio instructions.
If you were previously developing with eclipse, you want to migrate to Android studio. You need to export your project, and the purpose of the export is to generate the Gradle file. You can then import the exported project into Android Studio.
1. Update your eclipcs ADT Plugin (ADT version must be greater than or equal to 22.0)
2. In Eclipse, select Flie->export
3. In the popup dialog box, click Android and select Generate Gradle build Files
4. Select the project you want to export and click Finish
The project you chose to export is still under the original path, just one more Build.gradle file prepared for Android studio
- Import into Android Studio
1. In Android Studio, close your current project. The page jumps to the Welcome page.
2. Select Import Project
3. Navigate to the directory of the project you want to import, select the Build.gradle file
4, in the Pop-up dialog box, do not make any changes directly click OK
Your project is then imported into Android Studio.
Note: You can also import into Android studio even if the project does not generate a Build.gradle file. Android Studio can also use ant to compile the project. Then, in order to better use other features (such as build variants), we strongly recommend that you use the ADT plugin to generate a gradle file or write Gradle files directly in Android Studio. More content that can poke this: http://tools.android.com/tech-docs/new-build-system/user-guide.
Original address: http://developer.android.com/sdk/installing/migrate.html