“R 不能解析为变量"? [英] "R cannot be resolved to a variable"?
本文介绍了“R 不能解析为变量"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Eclipse 中,我从源创建了一个项目,现在它显示错误 - R 无法解析为变量".根据我在这里找到的内容,我已经清除并重建了项目,但 R 文件仍然没有出现在/gen 文件夹中.
In Eclipse, I've created a project from a source and now it shows errors - "R cannot be resolved to a variable". From what I found here, I had cleared and rebuilt the project, but still the R file doesn't appear in the /gen folder.
有什么想法吗?
推荐答案
别担心.首先你可以清理项目,然后运行项目.如果这不起作用,请点击以下链接:
Dont worry. First you may clean the project, then run the project. If this does not work then follow the following links:
- 以下是解决此问题的最佳方法:[Android 开发 - 我的 R.Java 文件在哪里?][2]
- R.java 未重新生成莉>
- R 无法解析 - Android 错误
- R 无法解析为变量
- R 无法解析为变量 -- 邮件列表条目
- 已修复:R 无法解析到一个变量
这篇关于“R 不能解析为变量"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文