R.java自动删除:安卓 [英] R.java deleted automatically: Android
本文介绍了R.java自动删除:安卓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我改变了.xml文件中的一些设计,R.java文件自动删除。我怎样才能找回那个文件,有什么解决方案来解决这个问题,在未来的这个问题不会occure。
When I changed some design in .xml file, R.java file automatically deleted. How can I get back that file and what is the solution to resolve this problem, that in future this problem does not occure.
推荐答案
您也可以禁用自动构建在Eclipse的IDE(菜单 - >项目 - >取消勾选自动生成)。通过这种方式,R档将只能重新当您手动构建项目,而不是当你保存在一个XML文件中的变化。
You can also disable automatic build in your Eclipse IDE(Menu -> project- > Uncheck build automatically). This way the R file will be recreated only when you manually build the project and not when you save changes in an xml file.
这篇关于R.java自动删除:安卓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文