Android SDK : main.out.xml?

别等时光非礼了梦想. 提交于 2020-01-04 07:03:23

问题


Sometimes Android SDK compiling Project will generate an empty layout XML named main.out.xml, which makes compile failed.

The file has to be deleted before compiling again. Why will it appear? and how to avoid it?

My IDE is Eclipse with ADT.


回答1:


It was reported as a bug. There might an issue with xml plug-ins or something. I've always deleted the xxxx.out.xml file. Take a look at SO threads:

  1. Eclipse - Disabling compiling of XML files while in Java perspective
  2. android sdk main.out.xml parsing error?



回答2:


Simply open any of the .java file in the src directory. Simply click on it an hit run



来源:https://stackoverflow.com/questions/8251658/android-sdk-main-out-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!