Eclipse 导入gingerbread源代码build path错误

Eclipse 导入gingerbread源代码build path错误

在eclipse中导入gingerbread源代码后出现如下build path错误:

Project 'gingerbread' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar'
Project 'gingerbread' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates/javalib.jar'

解决:
删除.classpath中的这两行路径
<classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar"/>
<classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates/javalib.jar"/>
添加
<classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar"/>


或者
https://groups.google.com/group/android-platform/browse_thread/thread/5c86d1f1929eed3c?pli=1
http://topic.csdn.net/u/20110406/19/5cc32204-b45e-4427-a3ea-eacd83fede13.html

你可能感兴趣的:(Eclipse 导入gingerbread源代码build path错误)