In my app I have a resource called main.xml. I also have a jar file that contains a resource called main.xml. Up until recently, this was working fine but then I started getting the following error:
Error generating final archive: Found duplicate file for APK: res/layout/main.xml
Not sure why all of a sudden. It must be possible to include a resource with the same filename in a jar file. The xml files are in fact located under two completely different paths, so I don't see why this should be a conflict.