liaoinstan / SpringView

🔥 A custom view pull to refresh,support ScrollView,ListView,RecyclerView,WebView and all another views, easy to use
Apache License 2.0
1.93k stars 355 forks source link

merger 冲突 #71

Open ericfjl opened 6 years ago

ericfjl commented 6 years ago

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】阿里百川

liaoinstan commented 6 years ago

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