Eclipse Import project for Android studio

Source: Internet
Author: User

Thank you, the great God, has been summed up: http://www.360doc.com/content/15/0323/13/11800748_457387176.shtml. In this, I just based on personal understanding, the contents of the reorganization, for reference only.
Disclaimer: If this article infringes your writings, please notify me promptly and I will delete them immediately.

Here's how to import an Android studio project to eclipse:

In fact, the most important thing is to understand the similarities between the two compiled environment generation directories:the files in the Src/main directory in the Android Studio project are the real Project code, The code in the Java directory in the main directory corresponds to the code in the SRC directory in the ECLISPE project

The steps are as follows: In terms of a simple project,

1. Download an Android studio project, such as Https://github.com/Yalantis/GuillotineMenu-Android.git, then unzip to the specified location, open with its directory structure as shown:

2. Adjust the similarities between the two compiled environments to generate the directory:

The files in the Src/main directory in the Android Studio project are the real Project code, and the code in the Java directory in the main directory corresponds to the code in the SRC directory in the ECLISPE project.

In fact, just save the app (the file under the folder has the project code) and the library two folders can be

Note: There are not only these two folders after the extraction, the name may also be different, you just save the real project code is good (as for those is the real project code will be specific analysis of your specific situation)

3. First process the Library folder: Open the folder, the directory is as follows:

As mentioned earlier: theReal Project code is in the Src/main directory in the Android Studio project. So we cut all the files in the Src/main and put them in the Library directory .

Recall the above:main Under the Java directory code corresponding to the ECLISPE project in the SRC directory of the Code

So just change the Java folder name to SRC

This is actually the Eclipse project directory that we are familiar with. We have completed the project structure in the Library directory.

3. Import the App and Library folder into the project

Select the path where the folder is located, and the following will generate a directory:

4. Fix the error: Open the error page, you will find that the SDK version is too low, only need to update a bit

Here is a very popular URL: www.androiddevtools.cn

After the update is complete, the project import was successful.

The last two sentences: This blog is based on http://www.360doc.com/content/15/0323/13/11800748_457387176.shtml to modify, induction, just to learn only, if you want to know more clearly, You can view the original blogger's articles. Also, if there are errors, please inform, thank you.

Eclipse Import project for Android studio

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.