Stack Overflow archive
5 score

Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;

score
5
question views
452.1K
license
CC BY-SA 3.0

I have several library projects with the same package name specified in the AndroidManifest (so no duplicate field names are generated by R.java). I had to remove any permissions and activities from the AndroidManifest.xml for all library projects to remove the error so Manifest.java wasn't created multiple times. Hopefully this can help someone.

Originally posted on Stack Overflow. Public user contributions are licensed under Creative Commons Attribution-ShareAlike.