在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"
即可