[eclipse error]'Android Dependencies' which does not allow modifications to source attachments on it
生活随笔
收集整理的這篇文章主要介紹了
[eclipse error]'Android Dependencies' which does not allow modifications to source attachments on it
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
工作項目是多項目依賴,突然發(fā)現(xiàn)無法跳轉(zhuǎn)到依賴項目源碼,也無法debug,錯誤提示如下:
The JAR of this class file belongs to container 'Android Dependencies' which does not allow modifications to source attachments on its entries
網(wǎng)上看了N多方法都無效啊……叫個糾結(jié)呀……最終我自力更生了……
對比了下我項目和同事項目里各種配置文件的差異,然后發(fā)現(xiàn).classpath文件里頭順序有點不一致。
問題就出在我標紅的這兩條上……把這兩位置換一換,src放在gen前面就好了……
然后我把所有依賴項目的classpath文件中這兩都換了,搞定……糾結(jié)了一天的問題終于搞定了……
原因未知……有知道的麻煩告訴我一下……
總結(jié)
以上是生活随笔為你收集整理的[eclipse error]'Android Dependencies' which does not allow modifications to source attachments on it的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 电子科技大学《图论及其应用》复习总结--
- 下一篇: 宿舍管理系统c语言程序代码,宿舍管理系统