【发布时间】:2014-08-21 19:24:48
【问题描述】:
我一直看到这条消息,不知道如何解决它。
Error:(43, 9) Attribute application@icon value=(@drawable/new_app_icon) from AndroidManifest.xml:43:9
is also present at com.github.erizet.signala:signala-longpolling:0.20:7:18 value=(@drawable/ic_launcher)
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:40:5 to override
:OpenBook:processDebugManifest FAILED
Error:Execution failed for task ':OpenBook:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
尝试将android:replace="android:icon" 添加到我的清单中,即使使用我的图标。
我尝试从库中删除 android:icon="@drawable/ic_launcher,但由于它是从 maven 导入的,所以在我构建时它不断返回
有什么想法吗?
【问题讨论】:
-
清单文件标签中出现问题时会出现此问题。请查看答案stackoverflow.com/a/39509659/2732632
-
我在清单中添加重复权限时遇到了同样的问题。
标签: android gradle android-studio