How Android studio projects are imported into eclipse

Source: Internet
Author: User

The following is the directory structure of the studio project:

Open src Directory

Enter Main

Actually, all the code in the library is in here.


And Eclipse's structure is like this.


In fact, the code in the Java directory in the studio project corresponds to the code in the SRC directory in the ECLISPE project. The SRC directory in studio contains all the code for the entire project, including resource files and xml.

So:

The Java folder name in the SRC->main directory inside the studio directory is changed directly to SRC,

then copy the contents of main (not including main) to a new one with your project namenamingof thefolderin

Then you can import it with Eclipse. If this is a library project after the import is complete, you need to select the following option in the properties for the item purpose:


How Android studio projects are imported into eclipse

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.