"Android Studio (i)" Migrating from Eclipse to Android studio

Source: Internet
Author: User

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.


    • Export from eclipse

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.