Eclipse Project Import to Android Studio
Operation Steps:
1. Eclipse exports the Gradle project.
2, as import.
3, wait patiently.
4. Change the Gradle version (not required)
Select an upgrade channel. As the upgrade is can choose to upgrade their own channels, different channels of the release version is not the same,
I choose the stable channel, each channel corresponds to what version here does not explain, there is a description on the Internet.
1. Eclipse exports the Gradle project.
- File->Export,Generate Gradle build Files and then the next step,
- Select the items you want to export (without having to rely on the project, which will be automatically exported),
2, as import.
- Select "Import Non-andorid Studio Project", it must be this option, otherwise the import has a problem
- If your as is not in this interface, then through file->close project You can enter this interface.
- Then find the item in step 1 and you can import it successfully.
3, wait patiently.
It may be slow to import because you want to download Gradle, and then wait for the download to complete. If it is because of the problem of their own network, then use VPN, proxy and the like (File->settings->http proxy).
4. Change the Gradle version (not required)
Generally exported items will have version inconsistency problem, then in as prompt repair Gradle version, agree to repair on it.
Based on the above steps, the project is basically migrated successfully.
If you have multiple dependent packages on your project, then you might compile, but probably suggest that there are multiple identical packages , such as SUPPORT-V4 packages. If you encounter such a problem, you can do the following.
1, delete the Support-v4.jar.
2, then add the V4 package, open Project Structrue (ctrl+alt+shift+s), find just the module, select Dependencies, click on the right "+" to add V4 package again.
Official documents
Here are the official documents, which I have done according to the official documentation, summarizing the issues I have done and the problems I have encountered.
To migrate existing Android projects, simply import them using Android Studio:
in Android Studio, close any projects currently open. You should see the
Welcome to Android Studio window.
- CLICK  Import non-android Studio project .
- Build.gradle file and Click OK .
- in the following dialog, leave use Gradle wrapper Selected and click OK . (You don't need to specify the Gradle home.)  
Android Studio properly updates the project structure and creates the appropriate Gradle build file.
Official Android Studio documentation in http://developer.android.com/tools/studio/index.html
Based on the above steps, the project is basically migrated successfully. If you have multiple dependent packages on your project, then you might compile, but probably suggest that there are multiple identical packages, such as SUPPORT-V4 packages. If you encounter such a problem, you can do the following.
Android--android Studio Import Eclipse Project