升级至Android ADT版本22和清洁我的项目后,R.java文件失踪。我不能使用setViewContent(R.layout.activity_main),因为该活动不能引用XML布局(由于缺少R.java)。此外,使用(Ctrl +空格键)时获得的setContentView建议,在code未键入。当看着错误日志,它表明,有一个未处理的事件循环异常。插件涉及的是org.eclipse.ui。
After upgrading to Android ADT version 22 and cleaning my project, the R.java files went missing. I can't use setViewContent(R.layout.activity_main) because the activity cannot reference to the xml layout (due to the missing R.java). Also, when using the (ctrl + space) to get suggestions for setContentView, the code is not typed in. Upon looking at the error log, it shows that there was an "Unhandled event loop exception". The plug-in involved is the org.eclipse.ui.
此外,每当我创建一个新的Hello World项目,该根文件夹为空。 几个小时后,我试图android的工作室。但我不喜欢那儿。然后,当我回到Eclipse的,还有的SDK平台工具的更新和构建工具。我更新了他们,但我仍然得到错误。
Also, whenever I create a new Hello World project, the gen folder is empty. After a few hours, I tried the android studio. But I didn't like it there. Then, when I went back to Eclipse, there was an update for SDK platform tools and build tools. I updated them but I still get the errors.
我试图清理项目,但没有运气。似乎是什么问题?
I tried cleaning the project but no luck. What seems to be the problem?
我有同样的问题,只是解决了它。
I had the same problem just solved it.
查询:Java/Eclipse - 没有更多的R档曾经
更多信息:https://groups.google.com/forum/?fromgroups=#!topic/android-developers/rCaeT3qckoE%5B1-25-false%5D