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

icon冲突 #18

Closed
ghost opened this issue Feb 6, 2017 · 2 comments
Closed

icon冲突 #18

ghost opened this issue Feb 6, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 6, 2017

Error:Execution failed for task ':app:processAutoupdateDebugManifest'.
> Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:7:9-43
  	is also present at [com.alibaba:arouter-api:1.0.3] AndroidManifest.xml:14:18-54 value=(@drawable/ic_launcher).
  	Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:5:5-22:19 to override.
@ghost ghost changed the title 依赖报错 添加依赖报错 Feb 6, 2017
@ghost
Copy link
Author

ghost commented Feb 6, 2017

根据上边建议,可以在

<application
tools:replace="android:icon"
...
>
...
</application>

@zhi1ong
Copy link
Member

zhi1ong commented Feb 7, 2017

你应该已经解决问题了,因为api项目的Application中制定了icon,你可以在App中覆写掉这个配置,符合预期的。 👍

@zhi1ong zhi1ong closed this as completed Feb 7, 2017
@zhi1ong zhi1ong changed the title 添加依赖报错 icon冲突 Feb 7, 2017
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

1 participant