【发布时间】:2015-08-17 13:15:25
【问题描述】:
我最近使用依赖项更新播放服务compile 'com.google.android.gms:play-services:7.5.0'
我的应用程序图标启动器位于 @mipmap/ic_launcher" 中,但这在 AndroidManifest.xml 中显示错误。
我应该再次将此图标放在drawable 中吗?
帮我找出解决办法。
更新:这是来自 Android 工作室的消息
Error:(17, 9) Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:17:9
is also present at com.pnikosis:materialish-progress:1.0:13:9 value=(@drawable/ic_launcher)
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:14:5 to override
Error:(17, 9) Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:17:9
D:\3cworkspace\PeakPerformance\app\src\main\AndroidManifest.xml
【问题讨论】:
-
请发布您的清单文件以及您看到的错误。
-
检查这个答案,它可能对你有用stackoverflow.com/a/24507129/3679005
标签: android google-play-services drawable mipmaps