How To: Eclipse compile error with Android ADT
- by Sahat
This error happens when you try to build & run .xml files (i.e. main.xml or strings.xml) files instead of .java
Problem:
[2010-05-28 06:42:42] Error in an XML file: aborting build.
[2010-05-28 06:42:42] res/layout/main.xml:0: error: Resource entry main is already defined.
[2010-05-28 06:42:42] res/layout/main.out.xml:0: Originally defined…