AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.31k stars 369 forks source link

Manifest merger failed : Attribute application@allowBackup #127

Open Farbklex opened 4 years ago

Farbklex commented 4 years ago

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.

Shestac92 commented 4 years ago

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