alibuy
alibuy
  • 发布:2024-11-18 14:09
  • 更新:2025-01-07 01:49
  • 阅读:706

错误描述: uts插件编译失败 解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。

分类:uni-app
错误解决方案

错误描述: uts插件编译失败
解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。
######################

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'aae37fd0-a56b-11ef-9507-0b56c4b9f591'.

    Could not resolve all files for configuration ':classpath'.
    Could not find com.hihonor.mcs:asplugin:2.0.1.300.
    Searched in the following locations:

  • https://dl.google.com/dl/android/maven2/com/hihonor/mcs/asplugin/2.0.1.300/asplugin-2.0.1.300.pom

  • https://repo.maven.apache.org/maven2/com/hihonor/mcs/asplugin/2.0.1.300/asplugin-2.0.1.300.pom

  • https://maven.aliyun.com/repository/public/com/hihonor/mcs/asplugin/2.0.1.300/asplugin-2.0.1.300.pom

  • https://jitpack.io/com/hihonor/mcs/asplugin/2.0.1.300/asplugin-2.0.1.300.pom

  • https://developer.huawei.com/repo/com/hihonor/mcs/asplugin/2.0.1.300/asplugin-2.0.1.300.pom
    Required by:
    project :

  • Try:

    Run with --stacktrace option to get the stack trace.
    Run with --info or --debug option to get more log output.
    Run with --scan to get full insights.
    Get more help at https://help.gradle.org.

BUILD FAILED in 24s
Error code = -5000
Error message:
UTS plugin @ utssdk TencentCloud-Push compile error!

2024-11-18 14:09 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

请提供云端打包完整错误日志链接地址

  • alibuy (作者)

    我现在使用HbuilderX 4.45版本打包

    类型: Android自有证书 打包失败 错误日志: https://app.liuyingyong.cn/build/errorLog/6db0c620-cc54-11ef-a049-134fac0f0af2

    2025-01-07 11:57

  • DCloud_App_Array

    回复 alibuy: 插件的依赖冲突,关键错误信息:


    Duplicate class com.tencent.timpush.fcm.TIMPushErrorBean found in modules fcm-8.2.6325.aar -> jetified-fcm-8.2.6325-runtime (fcm-8.2.6325.aar) and fcm-8.3.6498.aar -> jetified-fcm-8.3.6498-runtime (com.tencent.timpush:fcm:8.3.6498)

    2025-01-07 12:57

腾讯云终端团队

腾讯云终端团队

您好,感谢您的问题反馈,经过我们的排查原因如下:

问题:荣耀的依赖下载失败。
原因:HbuilderX 4.29 版本对于荣耀插件不支持导致的。
解决方案:建议使用 HbuilderX 4.24 版本进行构建。点击下载

alibuy

alibuy (作者) - 学习

HbuilderX 4.36是否修复了这个荣耀插件不支持问题

  • 1***@qq.com

    你好 请问你这边支持了吗

    2024-12-26 15:49

alibuy

alibuy (作者) - 学习

我现在使用HbuilderX 4.45版本打包
类型: Android自有证书 打包失败 错误日志: https://app.liuyingyong.cn/build/errorLog/6db0c620-cc54-11ef-a049-134fac0f0af2

要回复问题请先登录注册