3***@qq.com
3***@qq.com
  • 发布:2024-04-20 15:47
  • 更新:2024-04-20 15:47
  • 阅读:36

uts里开发自定义插件 Execution failed for task ':app:checkReleaseDuplicateClasses'.

分类:uts

uts里开发自定义插件
config.json:
{
"minSdkVersion": "21",
"dependencies": [
"com.huawei.hms:scanplus:1.3.1.300"
]
}

时候报错

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkReleaseDuplicateClasses'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    Duplicate class com.huawei.agconnect.AGConnectInstance found in modules jetified-agconnect-core-1.4.0.300-runtime (com.huawei.agconnect:agconnect-core:1.4.0.300) and jetified-gt-lib-runtime (gt-lib.aar)

2024-04-20 15:47 负责人:无 分享
已邀请:

要回复问题请先登录注册