该项目未建,因为它的构建路径是不完整 [英] The project was not built since its build path is incomplete

查看:474
本文介绍了该项目未建,因为它的构建路径是不完整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我试图导入从谷歌code 的下载到Eclipse的一个项目,但我得到了一些错误:

  

该项目没有建成,因为它的构建路径是不完整的。不能   找到类文件的java.lang.Object。修复构建路径再试试   建设该项目

     

无法解析目标的机器人-10(1本变为15)

我已经检查了该网站其他答案,但没有解决方案工作。

  

属性 - > Java构建路径 - >库

有1项:

  

无法获取系统库项目

解决方案

看来你缺少JDK(java.lang.Object中来自那里)

现在的问题是,你所用的相同的Andr​​oid API不同的PC上。 Eclipse正在失去与那些型动物路径名,但有相同的API。

要解决这个问题,第一个重新选择的Andr​​oid API版本(设置为另一个有效,然后恢复你想要和验证它 - >这将迫使Eclipse来重新加载API)。 然后进入项目 - >属性 - > Java构建路径。然后删除无法获取系统库项目,然后添加库,然后选择Android的类路径容器。

Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors:

The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project

Unable to resolve target 'android-10' (this changes from 1 to 15)

I've already checked the other answers on the site but no solution worked.

In

Properties -> Java Build Path -> Libraries

there's 1 item:

Unable to get system libraries for the project

解决方案

It seems that you lack JDK (java.lang.Object comes from there )

The problem is that you used the same Android API on different PC. Eclipse is lost with path names that are differents but with same API.

To solve it, first re-select Android API version (set to another one and valid, then restore the on you want and validate it -> it will force Eclipse to reload API). Then go into project->properties-> java build path. Then remove "Unable to get system library for the project" then "Add library" and select "Android Classpath container".

这篇关于该项目未建,因为它的构建路径是不完整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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