Manifest merger failed with multiple errors, see logs

在project中導入module,提示

Manifest merger failed with multiple errors, see logs

 點擊“Build”中的這個圖標

給出詳細錯誤信息:

D:\project\kokosun\KoCalculator_cal\app\src\main\AndroidManifest.xml:7:9-43 Error:
	Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:7:9-43
	is also present at [:calendarll] AndroidManifest.xml:38:9-45 value=(@drawable/ic_launcher).
	Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:6:5-39:19 to override.

按照提示在project的AndroidManifest.xml中添加tools:replace="android:icon",同時導入

xmlns:tools="http://schemas.android.com/tools"

即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章