升级4.41后制作自定义基座报这个错误。
e: file://[PackagePath]/wgtRoot/__UNI__XXXX/.uniappx/android/src/index.kt:4174:34 Operator '==' cannot be applied to 'String?' and 'Int'
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileReleaseKotlin'.
赢无翳 (作者)
官方后续能否把这个报错的文件路径抛出来,以便更方便找到错误的地方。
2024-12-18 11:51
DCloud_App_Array
回复 赢无翳: 后续会优化自定义基座打包时云端不会编译项目中的代码
2024-12-18 15:47