我知道有很多关于这个主题的,但我无法找到一个解决我的问题,或者是重复的。
I know there are a lot of threads about this but I couldn't find one that solved my problem or is a duplicate.
所以我工作的一个应用程序,意外取得了清理我的项目的错误。这引起了我的 R.java
文件消失。我想再次清洗我的项目,再构建它,收盘日食,删除创
文件夹,检查所有这一切对我的XML文件中的错误,所有的。
So I was working on an app, accidently made the mistake of cleaning my project. This caused my R.java
file to disappear. I tried cleaning my project again, building it again, closing eclipse, deleting the gen
folder, checking all of my xml files for errors, all of that.
现在的问题是,每当我创建一个新的完全空白的应用项目,甚至没有产生一个研究
自动文件。我希望还有一种方法来恢复它我原来的项目,但正如我所说似乎没有任何工作。
Problem now is whenever I create a new completely blank application project that doesn't even generate an R
file automatically. I'm hoping there is still a way to restore it for my original project but as I stated nothing seems to work.
这可能是,如果您已删除
It could be if you have deleted
<string name="action_settings">Settings</string>
在strings.xml中,但在菜单文件夹不删除main.xml中的文件。
in the strings.xml, but not deleted main.xml file in the menu folder.