I'm facing an issue during the build process of my Android application that uses TUICallKit. The error message I receive is:
Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml
I would like to know how to resolve this conflict and properly set the allowBackup attribute in my AndroidManifest.xml.
I'm facing an issue during the build process of my Android application that uses TUICallKit. The error message I receive is:
Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml
I would like to know how to resolve this conflict and properly set the allowBackup attribute in my AndroidManifest.xml.
Share Improve this question edited Mar 14 at 10:49 asked Mar 14 at 9:20 user27156870user27156870 1 |1 Answer
Reset to default 1If you want this error to be solved go to the AndroidManifest and click on the Merged Manifest
Tab in the bottom.
Then you can see a list of all Manifest of the respective Dependencies in Manifest Sources
or Other Manifest Files
. Then you can navigate to you repective Library and open the Manifest file of ChatSDK
.
In the end you can just add/change the
android:allowBackup="true"
in the ChatSDK and the error should be mitigated.
IMPORTANT:
If you change the dependency and it is updated you have to reset the value in the same way.
allowBackup
entry in your app's AndroidManifest.xml withtools:overrideLibrary
attribute set see e.g. stackoverflow/q/27095077/150978 – Robert Commented Mar 14 at 9:58