我有一个图书馆项目和另一个使用图书馆项目中的一些类的项目。一旦我在其中一个库类中设置断点,并且我的应用程序在断点处停止,Eclipse 就会向我显示错误消息
Source not found
The jar of this class file belongs to container 'Android Dependencies' which does not allow source modifications to source attachments on its entries
有人可以帮助我吗?
最佳答案
我找到了答案!
不知何故(不要问我为什么)Eclipse 弄乱了我的库项目类路径文件。它以错误的顺序列出了“src”类路径条目(见下面的附件)。
目前似乎只有第一个条目导出到我的应用程序项目使用的 libraryproject.jar。 因此只有 gen-sources 被附加,而不是 src 目录中的源代码。
关于android - 此类文件的 jar 属于容器 'Android Dependencies',它不允许对其条目上的源附件进行源修改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18942340/