8***@qq.com
8***@qq.com
  • 发布:2022-09-23 10:56
  • 更新:2022-09-24 17:42
  • 阅读:318

自定义基座打包报错,正式打包没问题

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

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    Duplicate class okhttp3.Address found in modules jetified-okhttp-3.12 (com.squareup.okhttp3:okhttp:3.12.12) and jetified-okhttp-3.12.0 (okhttp-3.12.0.jar)

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:checkReleaseDuplicateClasses'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
    报错信息:
    https://ide.dcloud.net.cn/build/errorLog/a10bd130-3ae7-11ed-9722-7d40ba474c97
2022-09-23 10:56 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

okhttp冲突了

该问题目前已经被锁定, 无法添加新回复