My Android Advanced tour------>android no third-party jar package source Error: The current class path entry belongs to container ... The workaround

Source: Internet
Author: User

Use a third-party jar today Afinal.jar time, want to look at the source code, can't see


and then like to add a jar corresponding to the source package, you can not add the corresponding source code, error is as follows: The current class path entry belongs to container ' Android Dependencies ' which does not allow user modifications Urce attachments on its entries.

As shown in the following:


Workaround:

1, then in the project directory, create a new Lib resource folder (don't put Libs under), put your third-party jar into this folder. Afinal_0.5.jar This is a third-party jar package that needs to be added to this project.


2. Right click on afinal_0.5.jar to add to Build Path.



3, right click afinal_0.5.jar Select Properties, select External location under the External Folder button, find the corresponding source code.


4. View the source code of the relevant class, success.




==================================================================================================

Ouyangpeng welcome reprint, sharing with people is the source of progress!

Reprint please keep the original address : Http://blog.csdn.net/ouyang_peng

==================================================================================================   




Copyright NOTICE: This article for Bo Master original article, welcome reprint, reprint please indicate source Http://blog.csdn.net/ouyang_peng

My Android Advanced tour------>android no third-party jar package source Error: The current class path entry belongs to container ... The workaround

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.