Project does not building when android:allowBackup="false" is set in Manifest
spipau opened this issue · 5 comments
spipau commented
The application can no longer be built when the application has android:allowBackup="false"
because the library has android:allowBackup="true"
:
Error:Execution failed for task ':app:processFreeDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:30:9-36
is also present at [com.prof.rssparser:rssparser:1.0] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:28:5-166:19 to override.
Suggestion: remove the android:allowBackup="true"
from the lib manifest.
Additional, maybe also remove android:label="@string/app_name"
and android:supportsRtl="true"
prof18 commented
Hi,
I've just updated the library with the fix. Again, thanks for the tip!
spipau commented
Great! Thanks!
Please let me know when you also update the lib in JCenter, so I can include your nice work into my project via gradle ;)
prof18 commented
I've already updated it!