[英]R.java missing after updating ADT to 22.0.1
I know this problem has been discussed in " Eclipse giving error, missing R.java file after recent update " and " R.java not generated after ADT update " but I still can't make it work.
我知道这个问题已经在“ Eclipse给出错误,最近更新后缺少R.java文件 ”和“ ADT更新后没有生成R.java ”中讨论过但我仍然无法使其工作。
My R.java file is not generated and I've searched here for answers but none of the answers have worked. 我的R.java文件没有生成,我在这里搜索了答案,但没有一个答案有效。 Everything worked just fine before I updated my ADT, so the code should be ok.
在我更新ADT之前一切正常,所以代码应该没问题。 This is what I've tried:
这就是我尝试过的:
What should I do? 我该怎么办? Please help me out here !
请帮帮我吧!
Check on Java Compliance level to be set at 1.6 检查Java合规性级别是否设置为1.6
Window -*Preferences*- Java Compiler Window - * Preferences * - Java编译器
Select on Compiler compliance level: 1.6 选择编译器合规级别:1.6
Also check on the problem window to see if your layouts (or other area) are showing an error and that is preventing the compiler to build the file. 还要检查问题窗口,看看您的布局(或其他区域)是否显示错误,并阻止编译器构建文件。
Check on Problem window Alt+Shift+Q,X 检查问题窗口Alt + Shift + Q,X
Post resolution as it might help others. 解决后,因为它可能会帮助其他人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.