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

时间:2021-03-24 19:45:44

* 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">