此类文件的jar属于容器“Android依赖关系”,它不允许对其条目的源附件进行源修改 [英] The jar of this class file belongs to container 'Android Dependencies' which does not allow source modifications to source attachments on its entries
问题描述
源找不到
此类文件的jar属于容器Android依赖关系
,不允许源代码修改源附件b $ b条目
有人能帮我吗?
我找到答案!
不知何故(不要问我为什么)Eclipse搞砸了我的图书馆项目类路径文件。它以错误的顺序列出了src类路径条目(请参阅下面的附件)。
看起来只是第一个条目当前导出到libraryproject.jar,这是由我的应用程序使用。
因此,只有源代码被附加,而不是src目录中的源。
I have a library project and another project which uses some classes from the library project. As soon as I am setting a break point in one of the library classes, and my app stops at the break point, Eclipse shows me the error message
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
Can someone help me?
I found the answer!
Somehow (dont ask me why) Eclipse messed up my librarry projects classpath file. it listed the "src" classpath entries in the wrong order (see attachment below).
looks like only the first entry is currently exported to the libraryproject.jar, which is used by my app-project. Therefore only the gen-sources got attached, and not the sources in the src dir.
这篇关于此类文件的jar属于容器“Android依赖关系”,它不允许对其条目的源附件进行源修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!