AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

Manifest merger failed : Attribute application@allowBackup

Open Farbklex opened this issue 5 years ago • 1 comments

When trying to build a project where auto backup is disabled, the build fails with this error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:23:9-36
  	is also present at [com.github.AnyChart:AnyChart-Android:1.1.2] AndroidManifest.xml:12:9-35 value=(true).
  	Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:21:5-77:19 to override.

It easily fixable but in my opinion, a third party library shouldn't declare any auto backup attribute.

Farbklex avatar Nov 07 '19 10:11 Farbklex

@Farbklex Thank you for the report! We will take into account for the future update.

Shestac92 avatar Nov 08 '19 02:11 Shestac92