g***@163.com
g***@163.com
  • 发布:2025-04-23 22:01
  • 更新:2025-04-23 22:23
  • 阅读:178

#插件讨论# 【 (兼容IOS和安卓)SVGA 动画组件 支持自定义文本、图片,图层隐藏功能 - 叶柳垂杨 】打包自定义基座时,报错

分类:uni-app

打包自定义基座时,报错:

错误解决方案

错误描述: 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!

2025-04-23 22:01 负责人:无 分享
已邀请:
叶柳垂杨

叶柳垂杨

配置一下文件读取模块就可以了

要回复问题请先登录注册