Highlight icon indicating copy to clipboard operation
Highlight copied to clipboard

app的mainifest设置allowBackup value=false时,和依赖库的有冲突

Open jarvan11 opened this issue 8 years ago • 1 comments

Error:(76, 9) Attribute application@allowBackup value=(false) from AndroidManifest.xml:76:9 is also present at com.zhy:highlight:1.1.0:12:9 value=(true) Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:75:5 to override Error:Execution failed for task ':app:processFYDH_01DebugManifest'.

Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:76:9 is also present at com.zhy:highlight:1.1.0:12:9 value=(true) Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:75:5 to override

jarvan11 avatar Aug 01 '16 07:08 jarvan11

xmlns:tools="http://schemas.android.com/tools" tools:replace="allowBackup"

Lee-Wang-Jing avatar Aug 31 '16 05:08 Lee-Wang-Jing