试用打包直接报错
IOS:
错误解决方案
错误描述: uts插件编译失败
解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。
######################
Error code = -5000
Error message:
UTS plugin uni_modules/rl-select-files compile error!
uni_modules/rl-select-files
[PackagePath]/wgtRoot/UNIEDCB3B0/uni_modules/rl-select-files/utssdk/app-ios/Frameworks/RLFilePicker.framework/Modules/RLFilePicker.swiftmodule/arm64-apple-ios.private.swiftinterface:40:35: error: 'PickFileInfo' is not a member type of class 'RLFilePicker.RLFilePicker'
安卓:
错误解决方案
错误描述: uts插件编译失败
解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。
######################
e: file://[PackagePath]/wgtRoot/UNIEDCB3B0/uni_modules/rl-select-files/utssdk/app-android/src/index.kt:127:33 Type mismatch: inferred type is String? but Any was expected
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:rl-select-files: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 43s
Error code = -5000
Error message:
UTS plugin @ utssdk rl-select-files compile error!
1 个回复
RedLi9820 - Android IOS Flutter Uniapp原生插件
HBuilderX 版本为4.57
插件更新了1.1.0版本
IOS打包成功
[HBuilder] 17:03:56.571 项目 UniPlugins-UTS-APP [UNIXXXXXXX]打包成功:
[HBuilder] 17:03:56.571 路径为: /Users/hanklee/Desktop/hbuilderx/UniPlugins-UTS-APP/unpackage/debug/iOS_debug.ipa
[HBuilder] 17:03:56.571 选择菜单“运行->运行到手机或模拟器->运行基座选择->自定义调试基座”后再次运行项目,即可通过自定义调试基座查看日志
[HBuilder] 17:03:56.571 注:自定义调试基座不可用于正式发布,其脱离HBuilderX无法更新应用资源
Android打包成功
[HBuilder] 17:30:38.474 项目 UniPlugins-UTS-APP [UNI76931EE]打包成功:
[HBuilder] 17:30:38.474 路径为: /Users/hanklee/Desktop/hbuilderx/UniPlugins-UTS-APP/unpackage/debug/android_debug.apk
[HBuilder] 17:30:38.474 选择菜单“运行->运行到手机或模拟器->运行基座选择->自定义调试基座”后再次运行项目,即可通过自定义调试基座查看日志
[HBuilder] 17:30:38.474 注:自定义调试基座不可用于正式发布,其脱离HBuilderX无法更新应用资源