I am having a hard time removing unnecessary (permissions) stuff from my manifest file after compiling and sigining a release version of my app. I simply don't want anything merged from other libraries's manifest files. I have my own manifest file and thats it. no other manifest should be merged in
anyone knows how to completely disable manifest merging?
Try this
android.applicationVariants.all{ variant ->
variant.outputs.each { output ->
output.processResources.manifestFile = file('AndroidManifest.xml')
output.processManifest.enabled=false
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With