eclipse 第三方jar包 关联源码,提示
The Jar of this class file belongs to container 'Android Dependencies' which does not allow modifications to source attachments on its entries
解释
Notice the workaround in comment 8
http://code.google.com/p/android/issues/detail?id=27490#c8. "Hello, I have solution to problem described in a comment 3:
Move content from libs folder back to lib because ADT 17 automatically add all jars from libs directory under Android dependencies.
Add dependencies from your lib directory as normal eclipse dependency (the old way before ADT 17). Link JAR files with their source JAR files or Javadoc.
In Project properties -> Java build path -> Order and export check all your added dependencies to be included with project class files.
Select Android Tools > Fix Project Properties"
意
The Jar of this class file belongs to container 'Android Dependencies' which does not allow modifications to source attachments on its entries
解释
Notice the workaround in comment 8
http://code.google.com/p/android/issues/detail?id=27490#c8. "Hello, I have solution to problem described in a comment 3:
Move content from libs folder back to lib because ADT 17 automatically add all jars from libs directory under Android dependencies.
Add dependencies from your lib directory as normal eclipse dependency (the old way before ADT 17). Link JAR files with their source JAR files or Javadoc.
In Project properties -> Java build path -> Order and export check all your added dependencies to be included with project class files.
Select Android Tools > Fix Project Properties"
意