项目没有project.properties文件!编辑项目属性设置一个错误 [英] Project has no project.properties file! Edit the project properties to set one error

查看:3058
本文介绍了项目没有project.properties文件!编辑项目属性设置一个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误:

Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'DashboardActivity'.
java.lang.NullPointerException

[2013-09-02 17:55:31 - DashboardActivity] Project has no project.properties file! Edit the project properties to set one.

Description Resource    Path    Location    Type
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files    UserFunctions.java  /DashboardActivity/src/libary   line 1  Java Problem

Description Resource    Path    Location    Type
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 DashboardActivity       Unknown Java Problem

我已经尝试清理项目,我也得到了同样的错误。只有DashboardActivity'项目是一个得到这个错误,我的其他项目正常工作。在我的性秩序和出口部分有一个表示无法获取系统libary这个项目的一部分
我知道这里应该有一个适当的android.jar文件,但我没有看到一个。

I have already tried cleaning the project and I get the same errors. Only the 'DashboardActivity' project is the one getting this error and my other projects work fine. In my properties Order and Export section there is a part that says "Unable to get system libary for this project" I know there should be a proper android.jar file here but I don't see one.

另外,Android的工具'修复项目属性确实什么都没有,当我点击它。

Also, the android tools 'fix project properties' does nothing at all when I click on it.

我有AndroidManifest.xml文件也是如此。

I have the AndroidManifest.xml file as well.

自从我第一次去清理我的项目,它创建的文件的ProGuard-project.txt吧。

Ever since I first went to clean my project it has created the file "proguard-project.txt" as well.

我能做些什么来解决这个问题?在此先感谢!

What can I do to fix this? Thanks in advance!

请注意:我现在不能接取的根文件夹或bin文件夹(没有+一点对我来说,点击打开它),现在它的说法是R不能被解析为一个变量)???

NOTE: now I can't acess the gen folder or bin folder (there is no little + for me to click on to open it) and now it's saying that R cannot be resolved to a variable) ???

推荐答案

你为什么不这样做。

观察是否有库的缺失(红色叉示值误差)
如果是的话那么这个库添加到项目
不要忘了检查它的订单和出口

Check whether any of library is missing (showing error with red cross) if yes then add this library to your project don't forget to CHECK it on Order and Export

做好一件事

检查任何一个目标

这篇关于项目没有project.properties文件!编辑项目属性设置一个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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