在尝试添加Android源偏食,我收到以下错误。
While trying to add android source to eclipse, I am getting the following errors.
Project 'android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates/javalib.jar'
Project 'android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar'
仅供参考,我已经成功地将这个月食之前建造的源full_maguro-userdebug配置(Galaxy Nexus的)。因为我无法找到从现有的源项目在Eclipse中靛蓝,我改变了项目的位置,以源的根目录。我刷新该项目几次同样的错误。
FYI, I have built the source successfully with full_maguro-userdebug configuration (for Galaxy Nexus) before adding this to eclipse. Since I couldn't find "create project from existing source" in Eclipse Indigo, I changed the location of the project to the root directory of the source. I refreshed the project several times with same error.
如何解决这个问题呢?
推荐答案
您应该去项目 - >属性 - > Java构建路径
。
有打开的选项卡库
。
在此标签输出/目标/普通/ OBJ / JAVA_LIBRARIES /谷歌common_intermediates / javalib.jar
应改为输出/目标/通用/ OBJ / JAVA_LIBRARIES / Android的common_intermediates / javalib.jar
从谷歌-common_intermediates,pressing编辑选择javalib.jar和选择,而不是Android的common_intermediates。
In this tab out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar
should be changed to out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar
by selecting javalib.jar from google-common_intermediates, pressing Edit and selecting instead android-common_intermediates.
条目javalib.jar可以简单地删除GSF-client_intermediates。
Entry with gsf-client_intermediates javalib.jar can be simply deleted.
相关推荐
最新文章