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
res\\layout\\main.xml
I had same issue then trying to build project with ant. So I just cleared bin/ directory and the project was build.