Reproduced in: http://www.cnblogs.com/flashlm/archive/2013/02/22/ Eclipse-android-project-dependencies-does-not-allow-modifications-to-source-attachments.html
The problem of being unable to correlate the source code with an Android dependent project in Eclipse has been a long time and finally solved, greatly improving the development efficiency.
Problem Description: The project has a A, a, two Android project, B is the Android Library (android.library=true), a refers to B. Now in the A project code, click on the Class B project, want to view the definition, can not directly open the project B source (hint: The JAR of this class file belongs to Container ' Android Dependencies ' which does Not allow modifications to source attachments on its entries.)
Workaround: in the. classpath file for the project on which the code is dependent (that is, the B project above), place the line referencing the main code in the first row, not the other Java code, especially the Gen folder <classpathentry kind= "src" path= "Src/java"/>
About Android Multi-project dependencies in eclipse cannot correlate source code problem resolution (Android dependencies Source)