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