错误解决方案
错误描述: 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!
2 个回复
DCloud_App_Array
请提供云端打包完整错误日志链接地址
腾讯云终端团队
您好,感谢您的问题反馈,经过我们的排查原因如下:
问题:荣耀的依赖下载失败。
原因:HbuilderX 4.29 版本对于荣耀插件不支持导致的。
解决方案:建议使用 HbuilderX 4.24 版本进行构建。点击下载