小二君
小二君
  • 发布:2021-05-18 14:15
  • 更新:2022-10-19 13:59
  • 阅读:1983

安卓云打包出现checkReleaseDuplicateClasses问题

分类:uni-app

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.alibaba.android.bindingx.core.BindingXCore found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXCore$1 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXCore$2 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXCore$3 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXCore$JavaScriptCallback found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXCore$ObjectCreator found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXEventType found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXJSFunctionRegister found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXPropertyInterceptor found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXPropertyInterceptor$1 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BindingXPropertyInterceptor$IPropertyUpdateInterceptor found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.BuildConfig found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.IEventHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.IEventInterceptor found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.LogProxy found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager$1 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager$Builder found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager$IDeviceResolutionTranslator found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager$IViewFinder found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.PlatformManager$IViewUpdater found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.WeakRunnable found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AbstractEventHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AbstractEventHandler$Cache found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AbstractScrollEventHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AnimationFrame found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AnimationFrame$Callback found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AnimationFrame$ChoreographerAnimationFrameImpl found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.AnimationFrame$HandlerAnimationFrameImpl found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXConstants found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXConstants$State found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXOrientationHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXOrientationHandler$ValueHolder found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXTimingHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.BindingXTouchHandler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.Euler found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.Expression found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.ExpressionHolder found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.ExpressionPair found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSFunctionInterface found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$1 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$10 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$11 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$12 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$13 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$14 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)
    Duplicate class com.alibaba.android.bindingx.core.internal.JSMath$15 found in modules dc_weexsdk_v8-release-runtime (dc_weexsdk_v8-release.aar) and uniapp-v8-release-runtime (uniapp-v8-release.aar)

2021-05-18 14:15 负责人:无 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

打包的appid发下 看起来是资源重复了

  • 小二君 (作者)

    E13FC09

    2021-05-19 13:11

DCloud_App_Array

DCloud_App_Array

云端打包请提供错误日志链接

  • 小二君 (作者)

    https://service.dcloud.net.cn/build/errorLog/af46df10-b85f-11eb-99c1-692f84ebbf61

    2021-05-19 13:11

小二君

小二君 (作者)

https://service.dcloud.net.cn/build/errorLog/af46df10-b85f-11eb-99c1-692f84ebbf61
这是错误日志

E13FC09

小二君

小二君 (作者)

找到问题了,记录一下:本地原生插件包和云端插件包文件冲突了,跟着错误提示挨个删除,最终安卓成功打包。

1***@qq.com

1***@qq.com

我也遇到了这个问题,请问要删除什么文件呢

a***@163.com

a***@163.com

我本地都没有原生插件包也报这个错误了,ios打包都没问题

过客灬

过客灬

app:checkReleaseDuplicateClasses这个问题是怎么解决的..

8***@qq.com

8***@qq.com

这个问题是怎么解决的

HuiCute

HuiCute

这个问题都解决了么,亲爱的们

p***@163.com

p***@163.com

我也遇到了一样的问题,日志:https://ide.dcloud.net.cn/build/errorLog/52e7d760-4aa5-11ed-b146-15e2b0304d30,怎么解决?看不出来哪些包重复了,使用的是官网提供的JPush_Hbuilder_Demo,集成极光推送JG-PUSH的

w***@tianmagroup.com

w***@tianmagroup.com

不知道怎么删重复的依赖

2***@qq.com

2***@qq.com

同样的报错 ,不知道如何解决

要回复问题请先登录注册