Android processDebugManifest 异常

1.使用
gradlew processDebugManifest --stacktrace
进行排查;

2.异常:
processDebugManifest (Thread[Execution worker for ':',5,main]) completed.

再次运行:

Manifest merger failed : Attribute application@label value=(@string/normal_app_name) from AndroidManifest.xml:25:9-48
	is also present at [com.shuyu:gsyVideoPlayer-java:7.1.2] AndroidManifest.xml:15:9-41 value=(@string/app_name).
	Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:22:5-53:19 to override.

解决方式:
加入tools:replace="label"

<application
        android:theme="@style/AppTheme"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/normal_app_name"
        android:allowBackup="true"
        android:supportsRtl="true"
        tools:replace="label"
        tools:ignore="AllowBackup, GoogleAppIndexingWarning">
原文地址:https://www.cnblogs.com/jooy/p/12095390.html