vikramkakkar / SublimePicker

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
Apache License 2.0
2.31k stars 409 forks source link

Library's manifest shouldn't use android:allowBackup #62

Open obuiron opened 7 years ago

obuiron commented 7 years ago

Manifest shouldn't declare android:allowBackup="true".

Because this doesn't seem legit and would create build failure if application declare android:allowBackup="false".

Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:14:9-36 is also present at [com.appeaser.sublimepickerlibrary:sublimepickerlibrary:2.1.1] AndroidManifest.xml:11:18-44 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:12:5-40:19 to override.

Manifest should look like :

<manifest package="com.appeaser.sublimepickerlibrary">
    <application />
</manifest>