Associate android source code with eclipseandroid source code in eclipse

Source: Internet
Author: User

Associate android source code with eclipseandroid source code in eclipse
1. Package the source code into jar:

1. Create a java Project

2. source code file to be packaged by import

3. export: Select java> jar file. The output path is selected here.


2 add source code Association:

1. Right-click the project-> java build path in properties-> libraries, select the jar package to be associated, and select source attachment.

2 edit-> select the jar file you just packaged

3 completed


How to associate android sdk source code in eclipse

Operation:
1. Press ctrl and left-click an android class, such as Activity.
2. Click the associated source code on the pop-up page.
3. in the pop-up dialog box, select the following single-choice button and select the folder, path: E: \ developfile \ android \ android64 \ androidTool \ android-sdk-windows \ sources \ android-16
4. OK!

How to associate android sdk source code in eclipse




 

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.