引入了uni-wifi插件,打自定义基座的时候报错
- 发布:2023-10-27 15:27
- 更新:2023-10-27 15:27
- 阅读:359
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.94
手机系统: Android
手机系统版本号: Android 14
手机厂商: 小米
手机机型: 小米10
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
能正常打包
能正常打包
实际结果:
打包失败
打包失败
bug描述:
引入了uni-wifi插件,打自定义基座的时候报错,报错信息如下
[HBuilder] 15:20:08.338 e: file://uni_modules/uni-wifi/utssdk/app-android/src/index.kt:286:90 Type mismatch: inferred type is Number but Int was expected
[HBuilder] 15:20:08.338
[HBuilder] 15:20:08.338 FAILURE: Build failed with an exception.
[HBuilder] 15:20:08.338
[HBuilder] 15:20:08.339 * What went wrong:
[HBuilder] 15:20:08.339 Execution failed for task ':uni_modules:uni-wifi:compileReleaseKotlin'.
[HBuilder] 15:20:08.339 > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
[HBuilder] 15:20:08.339 > Compilation error. See log for more details
[HBuilder] 15:20:08.339
[HBuilder] 15:20:08.339 * Try:
[HBuilder] 15:20:08.339 > Run with --stacktrace option to get the stack trace.
[HBuilder] 15:20:08.339 > Run with --info or --debug option to get more log output.
[HBuilder] 15:20:08.339 > Run with --scan to get full insights.
[HBuilder] 15:20:08.339
[HBuilder] 15:20:08.339 * Get more help at https://help.gradle.org
[HBuilder] 15:20:08.339
[HBuilder] 15:20:08.339 BUILD FAILED in 36s
1 个回复
7***@qq.com (作者)
@DCloud_Android_DQQ