[英]Android - What happen to my Project?
I am new to android development. 我是android开发的新手。 Yesterday night I was working on my project.
昨天晚上,我正在做我的项目。 It was working well.
运行良好。 But today morning I open my project I got R error.
但是今天早上我打开项目时遇到了R错误。 Then only I noticed my project everything is disabled.
然后只有我注意到我的项目所有功能都被禁用。
I don't know what is happening. 我不知道发生了什么 Please help me to resolve this problem.
请帮助我解决此问题。
您需要清理并构建您的项目,如果该项目不起作用,则需要检查清单和样式文件夹是否存在任何错误,有时它不会提示您那里存在错误。
It happened to be before, I had some issues with Java x64 and Android SDK, I couldn't fix it and someone told me to switch java, eclipse and sdk to 32 bits. 碰巧是之前,我在使用Java x64和Android SDK时遇到了一些问题,无法修复,有人告诉我将java,eclipse和sdk切换为32位。
This was around 6 months ago, dont know if its the same problem. 这是大约6个月前,不知道是否是同样的问题。
This error occurs due to the change in the path of the library required by the Project. 由于项目所需的库路径发生更改,因此会发生此错误。 Go in the Java Build Path option and try to remove and add again the library.
进入Java Build Path选项,然后尝试删除并再次添加该库。
在项目属性中勾选android sdk包名称。
Finally I changed the workspace. 最后,我改变了工作区。 It is working.
这是工作。 But still now I don't know why all my folders are closed in my previous Workspace.. Thanks to all..
但是现在我仍然不知道为什么在以前的工作区中我的所有文件夹都被关闭了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.