Category Archives: Android

Invalid XML files reported in Eclipse – even if they are correct

I’ve encountered this issue: when editing xml file in Eclipse (for Android dev), even if the xml file was okay, Eclipse couldn’t compile the source because it says ‘duplicate xml definition’

Workaround: Acces Eclipse’s menu “Project”->”Clean”.

It removes the .class files and recompiles the project. Basically, it forces a rebuild.

Yey!