HarlonWang / AVLoadingIndicatorView

DEPRECATED
9.75k stars 1.9k forks source link

Delete allowBackup=true in library's AndroidManifest #20

Closed yuyakaido closed 8 years ago

yuyakaido commented 8 years ago

@81813780 Hi, AVLoadingIndicatorView is a great library. I want to use this in my app. When I add dependencies in build.gradle, following error occurred.

Error:Execution failed for task ':app:processDevelopmentDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:29:9-36
    is also present at [com.wang.avi:library:1.0.1] AndroidManifest.xml:12:9-35 value=(true).
    Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:27:5-102:19 to override.

The cause of this error is allowBackup=true in library's AndroidManifest. I think any library should't use allowBackup attribute, because it's attribute for client app.

yuyakaido commented 8 years ago

@81813780 Thanks :+1:

HarlonWang commented 8 years ago

:)

yuyakaido commented 8 years ago

@81813780 Thank you so much for version 1.0.2. It works great!!!