Import the entire android system code in eclipse

Source: Internet
Author: User

Reference: http://source.android.com/source/using-eclipse.html

CD/path/to/Android/root

CP development/IDE/Eclipse/. classpath.

Chmod U + W. classpath # Make the copy writable

Open eclipse and importCodeStyle File android-formatting.xml

Windows-> preferences-> JAVA> code style> formatter

Then select the android process under the development/IDE/Eclipse/android-formatting.xml

Then Import development/IDE/Eclipse/Android. importorder in organize import in code style.

Create a Java project in eclipse. You can enter the project name as needed. Android is used here.

The most important step is not to use the default project path, do not select "use default location", and use the top-level directory where the android code is located.

Click Finish to view the code of the entire android project in a short time.

To view more project code, you can modify the. classpath file and add the project path to be viewed.

Related Article

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.