简体   繁体   English

Android-我的专案发生了什么?

[英]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.

相关问题 我的keyListener会怎样? - What happen to my keyListener? 我的ArrayList会发生什么 - what will happen to my ArrayList 我的 Android Studio 项目中的运行时错误是什么? - What is the runtime error in my Android Studio project? 在Android平板电脑上调用getSimCountryIso()会发生什么? - What will happen when getSimCountryIso() is called on Android Tablets? 了解如果我在项目中遇到其中一个异常会发生什么 - Understanding what will happen in case i will encounter one of this exceptions in a project 将此图像(具有正确的尺寸)插入我的Android项目的最佳方法是什么? - What is the best way to insert this image (with the correct dimension) into my Android project? 我的代码发生什么变化,看来是两个完全相同的意图? - What's happen to my codes it appeared to be two exactly same intents? 如果我在java中创建自己的String类会发生什么? - What will happen if i create my own String class in java? 如果我从我的代码中排除 session.evict() 会发生什么? - What will happen if I exclude session.evict() from my code? 如果在我的java文件中使用了大量@SuppressWarnings,会发生什么情况? - What would be happen if used lot of @SuppressWarnings in my java file?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM