我最近使用依赖项更新了播放服务
compile 'com.google.android.gms:play-services:7.5.0'
我的应用程序图标启动器位于@mipmap/ic_launcher"
但这显示错误AndroidManifest.xml
。
我应该再次将此图标放入drawable
要不然 ?
帮我找出解决方案。
UPDATE:这是来自 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
将以下行添加到应用程序标签
tools:replace="android:icon"
还导入xmlns:tools="http://schemas.android.com/tools"
清单文件。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)