我一直看到这个消息,不知道如何解决这个问题.
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
Run Code Online (Sandbox Code Playgroud)
尝试android:replace="android:icon"使用我的图标添加到我的清单.
我尝试android:icon="@drawable/ic_launcher从库中删除它 ,但它在我构建时不断回来,因为它是从maven导入的
有任何想法吗 ?
我正在将当前项目的大型应用程序移动到Android Studio和Gradle中.我目前陷入以下问题:
Error:(87, 9) Execution failed for task ':App:processDebugManifest'.
> Manifest merger failed : Attribute application@label value=(@string/app_label) from AndroidManifest.xml:87:9
is also present at ANDROID_APPLICATION:Library:unspecified:9:18 value=(@string/app_name)
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:82:5 to override
Run Code Online (Sandbox Code Playgroud)
我尝试将以下属性添加到主AndroidManifest.xml文件中:
tools:replace="android:label, *App Name*"
tools:replace="android:label, @string/app_label"
tools:replace="android:label"
Run Code Online (Sandbox Code Playgroud)
这些属性定义都不起作用.我究竟做错了什么?