无法使用android:icon="@mipmap/ic“发射器”;播放后显示在清单中的服务7.5.0

无法使用android:icon="@mipmap/ic“发射器”;播放后显示在清单中的服务7.5.0,android,google-play-services,drawable,mipmaps,Android,Google Play Services,Drawable,Mipmaps,我最近使用依赖项更新了播放服务 编译'com.google.android.gms:play services:7.5.0' 我的应用程序图标启动器位于@mipmap/ic_启动器“中,但这显示了AndroidManifest.xml中的错误。 我应该再次将此图标放置在drawable或其他位置吗? 帮我找出解决办法 更新:这里是来自Android studio的消息 Error:(17, 9) Execution failed for task ':app:processDebugManife

我最近使用依赖项更新了播放服务
编译'com.google.android.gms:play services:7.5.0'

我的应用程序图标启动器位于
@mipmap/ic_启动器“
中,但这显示了
AndroidManifest.xml
中的错误。 我应该再次将此图标放置在
drawable
或其他位置吗?
帮我找出解决办法

更新:这里是来自Android studio的消息

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
错误:(17,9)任务执行失败:app:processDebugManifest。
>清单合并失败:属性application@icon值=(@mipmap/ic_launcher)来自AndroidManifest.xml:17:9
也出现在com.pnikosis:materialish progress:1.0:13:9 value=(@drawable/ic_launcher)
建议:在AndroidManifest.xml:14:5处的元素中添加“tools:replace=“android:icon””以覆盖
错误:(17,9)属性application@icon值=(@mipmap/ic_launcher)来自AndroidManifest.xml:17:9
D:\3cworkspace\PeakPerformance\app\src\main\AndroidManifest.xml

在应用程序标记中添加以下行

tools:replace="android:icon"

同时导入
xmlns:tools=”http://schemas.android.com/tools“
到清单文件。

在清单中的应用程序标记下,为我工作

androidtools:replace='android:icon'
android:name=".ApplicationSubClass"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light"
tools:replace="android:icon" > //HERE

请发布您的清单文件以及您看到的错误。检查此答案,它可能会与您一起工作。谢谢!这是解决ic_launcher应用程序图标冲突的解决方案。这绝对应该标记为正确答案。效果非常好!