Android project won't build when editing a resource file

后端 未结 8 1352
北恋
北恋 2020-12-13 17:45

I have an Android 1.5 project in Eclipse and whenever I merely have an xml resource file open the build dies with an error. E.g. if I have the res\\layout\\main.xml

相关标签:
8条回答
  • 2020-12-13 18:31

    You should be able to have the xml file open, and build. There is an option if you right click on the project and go to android to clean up the project or reset the properties. Try that and see if it resolves the issue.

    0 讨论(0)
  • 2020-12-13 18:45

    I had same issue then trying to build project with ant. So I just cleared bin/ directory and the project was build.

    0 讨论(0)
提交回复
热议问题