AS报:Manifest merger failed with multiple errors, see logs

时间:2023-03-09 18:05:14
AS报:Manifest merger failed with multiple errors, see logs

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
 Manifest merger failed with multiple errors, see logs

解决办法:在AndroidManifest.xml的application增加tools:replace="android:name"

    <application
android:name=".BaseApplication"
android:allowClearUserData="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
tools:replace="android:name"
android:largeHeap="true">