Project does not building when android:allowBackup="false" is set in Manifest
See original GitHub issueThe application can no longer be built when the application has android:allowBackup="false"
because the library has android:allowBackup="true"
:
Error:Execution failed for task ':app:processFreeDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:30:9-36
is also present at [com.prof.rssparser:rssparser:1.0] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:28:5-166:19 to override.
Suggestion: remove the android:allowBackup="true"
from the lib manifest.
Additional, maybe also remove android:label="@string/app_name"
and android:supportsRtl="true"
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Android Studio Build Error: manifestMergerXXXX?
When Android builds your apk, it will merge Manifest files from different projects and it will try to merge them all to produce...
Read more ><application> | Android Developers
This attribute indicates whether or not the package installer extracts native libraries from the APK to the file system. If set to "false"...
Read more >1.1: Create Your First Android App - GitHub Pages
For each activity you can use Android Studio to do the following, in no particular ... Each project in Android Studio contains the...
Read more >Overriding allowBackup from higher priority manifest produces ...
One of the libraries that I have included as compile time dependency in app/build.gradle has allowBackup = true in its manifest. If I...
Read more >Can anyone help me place android:allowBackup=“false” in ...
I've tried to put it here. But it doesn't seem to work. This is in my Android manifest from Plugins/Android/GoogleMobileAdsPlugin/.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah, 1.0 --> 1.1 😃 Thanks, works like a charm!
Sent from my Google Nexus 5X using FastHub
I’ve already updated it!