我尝试查看源码android-support-v4.jar并得到:“这个类文件的jar属于容器和'Android私有库‘。”

从哪里获取和附加'Android Private Libraries‘源代码?
发布于 2013-08-26 07:09:50
关于这一点,有很多问题。基本上,android-support-v4.jar需要通过右键单击、Build Path..、Add to Path进入Referenced Libraries。然后在Referenced Libraries中,右键单击android-support-v4上的properties并设置源代码。
摘自How do I attach the Android Support Library source in Eclipse?和How to attach source to Google Drive API or Android Private Library in Eclipse。请看一遍答案。他们会帮你的。
发布于 2014-01-07 03:18:33
您还需要确保"Android私有库“在项目的"Java Build Path”首选项的"Order and Export“选项卡中排名靠后。
https://stackoverflow.com/questions/18434552
复制相似问题