Manifest merger failed with multiple errors, see logs
解决方案,(控制台)执行命令:
gradlew processDebugManifest -stacktrace
日志信息如下:
> Task :app:processDebugManifest FAILED
/xxx/AndroidManifest.xml:32:5-66 Warning:
Element uses-permission#android.permission.INTERNET at AndroidManifest.xml:32:5-66 duplicated with element declared at AndroidManifest.xml:17:5-66/xxx/AndroidManifest.xml:35:5-80 Warning:
Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:35:5-80 duplicated with element declared at AndroidManifest.xml:16:5-80//略.../xxx/AndroidManifest.xml:364:13-53 Error://todo 看下方
Attribute meta-data#JPUSH_APPKEY@value value=("qwertyuiop") from AndroidManifest.xml:364:13-53
is also present at [cn.jiguang:jpush:2.1.8] AndroidManifest.xml:125:13-44 value=("abcdfghijklmn").
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:362:9-364:56 to override.