Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merger 冲突 #71

Open
ericfjl opened this issue Jan 12, 2018 · 1 comment
Open

merger 冲突 #71

ericfjl opened this issue Jan 12, 2018 · 1 comment

Comments

@ericfjl
Copy link

ericfjl commented Jan 12, 2018

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants