这是个老项目了,今天有一个小改动需要做,改完了打包一直无法正常打包
以下是 HBuilderX 云打包编译错误信息。请结合当前 uni-app / uni-app x 项目上下文分析失败原因,指出最可能的问题代码或配置,并给出可执行的修复步骤。
e: file://[PackagePath]/wgtRoot/__UNI__2F1E0B9/uni_modules/mushan-camera/utssdk/app-android/src/index.kt:66:10 Property must be initialized, be final, or be abstract.
e: file://[PackagePath]/wgtRoot/__UNI__2F1E0B9/uni_modules/mushan-camera/utssdk/app-android/src/index.kt:87:10 Property must be initialized, be final, or be abstract.
e: file://[PackagePath]/wgtRoot/__UNI__2F1E0B9/uni_modules/mushan-camera/utssdk/app-android/src/index.kt:108:10 Property must be initialized, be final, or be abstract.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':uni_modules:mushan-camera: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 31s
Error code = -5000
Error message:
UTS plugin @ utssdk mushan-camera compile error!
DCloud_App_Array
从报错信息看是没有初始化成员变量,如果有源码可以自行修复设置初始值。
37 分钟前