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
Eclipce / Project / Clean ... And run your project again ...