Write android in eclipseProgramWhen the main. XML layout file, the result automatically generates a main. out. XML file. After the project is deleted, an error occurs and the error cannot be found.
The "your project contains error (s), please fix them before running your application ."
I found a post and found that the Group contains a sentence: Try it.
Somethings I'll have ?. XML file selected where I compile a project, only to have ?. Out. XML generated. deleting the file doesn't clear the error, and eclipse won't compile the project. I just reports that your project contains errors. the solution is to go to project/clean. this will clear the error in the project and allow it to compile. first Project/clean, then build.
Some people in eoeandroid also said, "when I encounter this problem, I should first Delete the project and load it in. Haha !"
Or restart eclipse.
A strange error.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/echozhy/archive/2010/09/12/5879116.aspx