Errors on the project build path when using Eclipse
When I debug the framework source using Eclipse, there are some errors on the project build path.
Error messages I saw are the following :
- Project 'Android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar'
- Project 'Android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates/javalib.jar'
Goto Project>Properties and libraries section and edit first one to
"out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar"and remove second one.
Missing required library when import the android source 4.0 to Eclipse
After this, the build path errors were gone, but I got about 200 errors referring to missing types. This could only be another classpath problem for Eclipse. Here are the extra libraries, that we have to add to the .classpath file:
- <classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/javalib.jar"/>
- <classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates/classes-jarjar.jar"/>
or add these two files as externals jars in the above mentioned area, i.e., libraries section in Project>Properties
Hope this solves your problem...