使用 ADT r14 不断恢复 R.java
自 ADT r14 以来,我遇到了很多这样的错误:
[2011-10-21 17:51:22 - library] R.java was modified manually! Reverting to generated version!
但我根本没有更改 R.java。有人知道那里发生了什么事吗?这是一个错误吗?
since ADT r14 I get a lot of errors like this:
[2011-10-21 17:51:22 - library] R.java was modified manually! Reverting to generated version!
but I am not changing the R.java at all. Anyone knows whats going on there? is that a bug?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在构建过程中关闭了 Android 模拟器?您看到任何 *.out.xml 文件吗?
右键单击项目 -> Clean 进行清理,然后手动删除所有 *.out.xml 文件,然后尝试构建。
Ninja 编辑 看起来 ADT 14 中可能存在错误:http://code.google.com/p/android/issues/detail?id=21031
Are you killing the Android emulator during the build? Do you see any *.out.xml files?
Do a clean by right clicking on the project ->Clean, then manually delete all the *.out.xml files, then try building.
Ninja edit Looks like there might be a bug in ADT 14: http://code.google.com/p/android/issues/detail?id=21031
您尝试清理该项目吗?
did you try cleaning the project ?