1***@qq.com
1***@qq.com
  • 发布:2024-12-06 21:02
  • 更新:2024-12-06 21:02
  • 阅读:209

HBuilder x 4.24 云打包 报错

分类:HBuilderX

Appid: UNI2D*****80

错误解决方案

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

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"extension-level\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:57:5 'onRecvPushMessage' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:62:5 'onRevokePushMessage' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:67:5 'onNotificationClicked' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:90:10 Unresolved reference: disablePostNotificationInForeground
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:99:14 Unresolved reference: disablePostNotificationInForeground

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':uni_modules:TencentCloud-Push:compileReleaseKotlin'.

    A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
    Compilation error. See log for more details

  • 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 1m 17s
Error code = -5000
Error message:
UTS plugin @ utssdk TencentCloud-Push compile error!

2024-12-06 21:02 负责人:无 分享
已邀请:

要回复问题请先登录注册

  • 标题 / 粗斜体
  • 代码片段
  • 超链接 / 图片 / 视频
  • 列表 / 引用

文章内容较多时,可以用标题分段 :

## 大标题 
### 小标题

斜体 / 粗体 :

**粗体** 
*斜体*
***粗斜体***

代码片段 :

``` javascript
代码片段
```

超链接 :

[链接文字](链接地址) 例: [百度](http://www.baidu.com)

图片 :

![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)

视频 :

!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)

有序列表 :

1. 123
2. 123
3. 123

无序列表 :

- 123
- 123
- 123

引用 : ( 双回车后结束引用 )

> 引用内容
引用内容
引用内容