When you compile an android project from its xml resource, Eclipse considers it as executing xml file and so you get some output from it, in the same name of the xml with .out.xml extension. And you’ll end up with an *.out.xml file and the error res\layout\main.xml:0: error: Resource entry main is already defined. To