简体   繁体   English

Android库项目清理和重建有问题

[英]Android library project cleaning and rebuilding has problems

Environment:

IDE: Eclipse IDE for Java Developers 3.7.1
Plugin: ADT 14.0.0.v2011101719
Host: Fedora 13 
JDK: 1.6.0_21


Eclipse seems to have problems cleaning and rebuilding projects, when at least one project is an Android Library project, and another is an Android project dependent on the library project. 当至少一个项目是Android Library项目,而另一个项目是依赖该库项目的Android项目时,Eclipse似乎在清理和重建项目时遇到问题。

I building this Application CSipSimple .I getting Some four errors saying as follows : 我构建了这个应用程序CSipSimple 。我得到一些四个错误,如下所示:

The container 'Library Projects' references non existing library
'/bin/com_actionbarsherlock.jar'

The project cannot be built until build path errors are resolved

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

The type java.lang.Object cannot be resolved. It is indirectly 
referenced from required .class files

Can anyone known this issue ? 有人知道这个问题吗? if it can be solve any way ? 是否可以通过任何方式解决?

ok , try these steps, 好的,尝试这些步骤,

Go to Project Menu, select Properties. 转到项目菜单,选择属性。 A dialog Box will be appear, In that dialog box, from left side, choose the Android Option , now in the right side choose the Android version you are developing for. 将出现一个对话框,在该对话框的左侧,选择Android Option,现在在右侧,选择要开发的Android版本。

Now again Clean & Build the Project. 现在再次清理并构建项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM