简体   繁体   English

如何在ADT eclipse中添加“Android私有库”的来源?

[英]How to add source of 'Android Private Libraries' to ADT eclipse?

I try to see source of source android-support-v4.jar and get: "The jar of this class file belongs to container and 'Android Private Libraries' " 我试着看看源android-support-v4.jar的来源并得到:“这个类文件的jar属于容器和'Android私有库'” Android私人图书馆

Where to obtain and attach 'Android Private Libraries' source? 在哪里获取并附加“Android私有图书馆”来源?

您还需要确保“Android私有库”在项目的“Java Build Path”首选项的“Order and Export”选项卡中排名较低。

There are many question on that. 关于这个问题有很多问题。 Basically the android-support-v4.jar need to be in Referenced Libraries by right click, Build Path .., Add to Path . 基本上, android-support-v4.jar需要通过右键单击“ Build Path ,“ Add to Path而在Referenced Libraries Then in Referenced Libraries , right click properties on android-support-v4 and set the sources. 然后在Referenced Libraries ,右键单击android-support-v4上的properties并设置源代码。

Taken from How do I attach the Android Support Library source in Eclipse? 摘自如何在Eclipse中附加Android支持库源代码? and How to attach source to Google Drive API or `Android Private Library` in Eclipse . 以及如何在Eclipse中将源附加到Google Drive API或“Android私有库” Please go through the answers. 请仔细阅读答案。 They'll help you. 他们会帮助你的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM