错误:在Eclipse的Andr​​oid源代码编译 [英] Error: Android source build in eclipse

查看:136
本文介绍了错误:在Eclipse的Andr​​oid源代码编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试添加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.

这篇关于错误:在Eclipse的Andr​​oid源代码编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆