打包自定义基座时,报错:
错误解决方案
错误描述: uts插件编译失败
解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。
######################
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:38:32 Unresolved reference: getFileSystemManager
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:121:27 Unresolved reference: uni_getFileSystemManager
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:148:50 Unresolved reference: ReadFileOptions
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:148:127 Unresolved reference: ReadFileSuccessResult
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:153:47 Unresolved reference: FileSystemManagerFail
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:174:34 Unresolved reference: ReadFileOptions
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:174:114 Unresolved reference: ReadFileSuccessResult
e: file://[PackagePath]/wgtRoot/UNICEFFCA2/uni_modules/xwq-svga-view/utssdk/app-android/src/index.kt:178:31 Unresolved reference: FileSystemManagerFail
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:xwq-svga-view: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 26s
Error code = -5000
Error message:
UTS plugin @ utssdk xwq-svga-view compile error!
1 个回复
叶柳垂杨
配置一下文件读取模块就可以了