Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute ap

版权声明:转载请注明出处http://blog.csdn.net/xuaho0907 https://blog.csdn.net/xuaho0907/article/details/78287948

Android Studio 报错:

Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value=(@mipmap/panda_account_icon) from AndroidManifest.xml:9:9-50
      is also present at [com.pnikosis:materialish-progress:1.0] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher).
      Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:6:5-47:19 to override.

解决办法:(共两步)

1.在AndroidManifest.xml文件中的<manifest>标签中加入属性 xmlns:tools="http://schemas.android.com/tools"

2..在AndroidManifest.xml文件中的<application>标签中加入 tools:replace="android:icon,android:theme"

即可解决问题

猜你喜欢

转载自blog.csdn.net/xuaho0907/article/details/78287948