##项目集成阿里云盾实人认证时,将SecurityBodySDK-external-release-5.4.79.aar 库导入时,运行编译失败,报错:
Error:Execution failed for task ‘:processDebugManifest’
Manifest merger failed with multiple errors, see logs
导致错误原因:
SecurityBodySDK-external-release-5.4.79.aar库和主程序的allowBackup冲突
解决流程:
根据android Studio 右下角的Gradle Console提示,点击run with info 查看具体报错详细信息
具体错误信息:
Error:D:\xzdc\AiDong\AiDongDong_android\app\src\main\AndroidManifest.xml:52:9-35 Error:
Attribute application@allowBackup value=(true) from AndroidManifest.xml:52:9-35
is also present at [:SecurityBodySDK-external-release-5.4.79] AndroidManifest.xml:15:9-36 value=(false).
Suggestion: add ‘tools:replace=“android:allowBackup”’ to element at AndroidManifest.xml:50:5-189:19 to override.
FAILURE: Build failed with an exception.
问题找到
Execution failed for task ':processDebugManifest'
最新推荐文章于 2023-04-21 00:50:42 发布