在寫項目時添加了個第三方分享後一直報"Manifest merger failed with multiple errors, see logs"這個錯,查找了哈資料解決了問題
網上是說清單合併錯誤 /項目與庫的清單文件配置不同
解決方案:
1.在清單文件(AndroidManifest.xml)節點中加如下代碼:
xmlns:tools="http://schemas.android.com/tools"
如圖位置:
2.在清單文件(AndroidManifest.xml)application節點中加:
tools:replace="android:icon,android:theme"
如圖位置: