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 open as the active document it won't build and throws the following error:
Error in an XML file: aborting build. res\layout\main.xml:0: ERROR Resource entry main is already defined.
I then have to delete main.out.xml and switch to any .java file in the project to get it to build.
Do I have something configured incorrectly or is this just an Eclipse or ADT bug? It drove me nuts for an hour before I figure out what the cause was.