Android project won't build when editing a resource file

后端 未结 8 1353
北恋
北恋 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:23

    That will happen in the eclipse Indigo(IDE). when you are trying to run XML file instead of source pages(java files). So that will generate a file with the name of main.out.xml. so we have to delete the main.out.xml file and run the source files..

    i Hope this will work..

提交回复
热议问题