I have several application projects that use a common library project. I recently tried moving some activity declarations from each AndroidManifest.xml application project to the library manifest and included the merge manifestmerger.enabled=true with manifestmerger.enabled=true in project.properties .
Everything works fine in debug builds, but bad versions (obfuscated by Proguard) fail with an ActivityNotFoundException . This is because Proguard confuses the names of the Acts that are declared in the library manifest, but not those of the application manifest.
I reviewed the combined bin/AndroidManifest.xml file for the application project, and it correctly named the activity names.
Can anyone suggest a workaround?
source share