R能够解决不了,安卓(试过共同修复) [英] R cannot be resolved-android(tried the common fixes)

查看:101
本文介绍了R能够解决不了,安卓(试过共同修复)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧...我知道这是一个重复的,但是,没有什么是错我的XML。 R不是进口,我试图清理我的项目。

okay... I know this is a repeat but, nothing is wrong with my xml. r isn't imported and I have tried cleaning my project.

它开始时,我在drawble文件夹中添加的.png,我删除,并错误仍然原生生物。我不知道什么尝试,但它确实是令人沮丧的。

It started when I added a .png in my drawble folder and I removed it and the error still protists. I don't know what else to try but it is really frustrating.

我也尝试创建新的项目,也对这些错误的发电机。

I have also tried to create new project and the error generators on those too.

更新*我做所有这些事情,并没有对我的第一个项目的工作,但是当我创建了一个新的,它的工作?它没有以前那么固定的东西吧!我只是我的code传输到之一。
谢谢大家。

Update* I did all of these things and none worked on my first project, but when I created a new one it worked? and before it didn't so something fixed it! I will just transfer my code to that one. Thank you everyone

推荐答案

尝试删除R档时,将自动重新&放大器;这可能解决问题。你可以在这里找到R文件:

Try to delete the R file, it will be automatically recreated & this may resolve the issue. You can find the R file here:

Your Project >> gen >> your package Name >> R.java

这篇关于R能够解决不了,安卓(试过共同修复)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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