Error text
Manifest merger failed with multiple errors, see logs Attribute application@label value=(App) from AndroidManifest.xml is also present at [lib] value=(Lib). Suggestion: add 'tools:replace="android:label"' to <application> element
Manifest merger failed with multiple errors, see logs Attribute application@label value=(App) from AndroidManifest.xml is also present at [lib] value=(Lib). Suggestion: add 'tools:replace="android:label"' to <application> element
The AndroidManifest files of the app and its libraries set the same attribute to different values. Gradle cannot merge them.
xmlns:tools to the <manifest> tag.tools:replace="android:label" on the clashing attribute.tools:node="remove".<activity> with an intent filter needs an explicit android:exported.<manifest xmlns:tools="http://schemas.android.com/tools" ...>
<application
android:label="@string/app_name"
tools:replace="android:label">
</application>
</manifest>
./gradlew :app:processDebugMainManifest --stacktraceAfter editing the manifest, open the Merged Manifest view; the final result is shown there.
Author and license: Nibras Code