0

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.

Johann
  • 24,056
  • 38
  • 149
  • 245

1 Answers1

0

Was able to delete the duplicate file as it was not needed. Solved the problem but isn't the correct way to do things.

Johann
  • 24,056
  • 38
  • 149
  • 245