SpringView icon indicating copy to clipboard operation
SpringView copied to clipboard

merger 冲突

Open ericfjl opened this issue 8 years ago • 1 comments

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:26:9-36 is also present at [com.liaoinstan.springview:library:1.3.0] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:24:5-166:19 to override.

我尝试去掉 android:allowBackup="true" 字段 又报以下错误: Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml:26:9-35 is also present at [com.aliyun.ams:alicloud-android-feedback:3.1.1] AndroidManifest.xml:19:18-45 value=(false). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:24:5-166:19 to override.

怎么办?我集成了【com.aliyun.ams:alicloud-android-feedback:3.1.1】阿里百川

ericfjl avatar Jan 12 '18 03:01 ericfjl

在application节点下加入 tools:replace="android:allowBackup"

liaoinstan avatar Mar 07 '18 03:03 liaoinstan