Angel绍
Angel绍
  • 发布:2024-04-08 15:00
  • 更新:2024-04-08 16:20
  • 阅读:238

安卓云端打包 报这个是什么意思啊 一直失败

分类:HBuilderX

Appid: UNI*
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/UNI***
/uni_modules/uts-progressNotification/utssdk/app-android/src/index.kt:224:12 Reference has a nullable type '(() -> Unit)?', use explicit '?.invoke()' to make a function-like call instead

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':uni_modules:uts-progressNotification: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 57s
Error code = -5000
Error message:
UTS plugin @ utssdk uts-progressNotification compile error!

2024-04-08 15:00 负责人:无 分享
已邀请:
HRK_01

HRK_01

用的uts吗?编译报错,检查一下语法有没有问题

Angel绍

Angel绍 (作者)

用的是uniapp的项目 使用的js 、没有用uts,只是uni_modules里面有个uts-progressNotification插件 "version": "1.0.8" 版本 ,里面有uts文件 、、 。。 我卸载重装hbuilderx 相同的编辑器版本号 重新克隆的代码 相同的代码 我的是打包失败 同事的都可以。。。

要回复问题请先登录注册