title: Android project won't build when editing a resource file
body: <p>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 <code>res\layout\main.xml</code> open as the active document it won't build and throws the following error:</p>
  
  <pre><code>Error in an XML file: aborting build.
  res\layout\main.xml:0: ERROR Resource entry main is already defined.
  </code></pre>
  
  <p>Then I have to delete <code>main.out.xml</code> and switch to any .java file in the project to get it to build.</p>
  
  <p>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.</p>