First, export from eclipse:
1. Upgrade your ADT plugin version to more than 22.0.
2. In Eclipse, select File-->export.
3. In the pop-up export window, open the Android folder and select "Generate Gradle Build Files".
4. Select the project you want to import into Android studio, Finish.
Note: The exported project will be in the same directory as the original project, overwriting the original, will add a file called Build.gradle, the import of Android studio will first read this file.
Second, import to Android Studio:
1. In Android Studio, first turn off your current open project.
2. On the Welcome screen, click Import Project (note: You can also select Import Project directly from the menu).
3. Select the project you exported in Eclipse, expand the directory, click the Build.gradle file, and then OK.
4, in the following pop-up dialog box, you will be asked to select Gradle configuration, select the Use Gradle wrapper. (Note: You can also customize your native-mounted gradle).
Note: If you do not have a grade build file, you can also import a normal Android project into Android Studio, which will use the existing ant Build. However, in order to better use the functionality and build variables, it is strongly recommended that you generate the Gradle file from the ADT plug-in before importing into Android Studio.
The steps for Eclipse migration to Android Studio are as follows: