Android ADT cannot view third-party jar source code

Source: Internet
Author: User

Source not found
The JAR of this-class file belongs to Container ' Android Private Libraries ' which does isn't allow modifications to source a Ttachments on its entries.

Quoted Netty-all-4.1.0.cr3.jar, the usual development time want to see the code, can not click to view, can only be cut past, the source of search, very inconvenient.

Check the online information, pro-test effective

1: The referenced jar is Netty-all-4.1.0.cr3.jar and placed under the Libs folder.

2: Create the file under the Libs folder Netty-all-4.1.0.cr3.jar.properties

3:netty-all-4.1.0.cr3.jar.properties content fill in:

Src=f:\\jar-source-pakage\\netty-4.1.0.cr3\\jar\\all-in-one\\netty-all-4.1.0.cr3-sources.jar
Doc=f:\\jar-source-pakage\\netty-4.1.0.cr3\\javadoc\\netty-all-4.1.0.cr3-javadoc.jar

4 Project closed, then open, and then refresh the line.

Attention:

Under Windows, note the path delimiter with \ \

The name of the properties file must be the full name of the corresponding jar plus the. Properties suffix (I planted it for a while @[email protected])

Src,doc fill in the corresponding jar

If you just want to see the source code can only fill src

Android ADT cannot view third-party jar source code

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.