I have recently updated the Android Studio from 3.5(stable) to 3.6(stable).
Then I saw the plugin update was also available, so I have updated the version of "com.an
I had the same issue with AndroidManifest.xml
files colliding. First, I tried the useNewApkCreator
workaround and it worked on the app variant I was working on. But when I switched to another variant, build was still successful but the app refused to install from Android Studio. Also installing the .apk manually gave parsing error on the device.
Finally, I analyzed the .apks from both variants and noticed that the broken .apk had the wrong AndroidManifest.xml in it. Excluding the manifest in packagingOptions
worked though.