6***@qq.com
6***@qq.com
  • 发布:2022-11-04 14:33
  • 更新:2023-12-18 16:35
  • 阅读:664

【报Bug】 DCloud-HelloUTS_1.0.1 打底座包报错 Unsupported class file major version 61.

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win11 专业版 22H2

HBuilderX类型: Alpha

HBuilderX版本号: 3.6.8

手机系统: Android

手机系统版本号: Android 12

手机厂商: vivo

手机机型: OPPO NEO5

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

https://ext.dcloud.net.cn/plugin?id=9892 下载项目 打基座包

预期结果:

打包正常

实际结果:

[HBuilder] 13:42:03.273 项目 DCloud-HelloUTS_1.0.1 [UNI41805C0]的打包状态:
[HBuilder] 13:42:03.273 时间: 2022-11-04 13:39:04 类型: Android 公共测试证书 打包失败 错误日志: https://ide.dcloud.net.cn/build/errorLog/fe168830-5c02-11ed-8827-c5af431eeea9
[HBuilder] 13:42:03.488
[HBuilder] 13:42:03.488 FAILURE: Build failed with an exception.
[HBuilder] 13:42:03.488
[HBuilder] 13:42:03.488 What went wrong:
[HBuilder] 13:42:03.488 Execution failed for task ':uni_modules:uts-toast:compileReleaseKotlin'.
[HBuilder] 13:42:03.488 > Error while evaluating property 'filteredArgumentsMap' of task ':uni_modules:uts-toast:compileReleaseKotlin'
[HBuilder] 13:42:03.488 > Could not resolve all files for configuration ':uni_modules:uts-toast:releaseCompileClasspath'.
[HBuilder] 13:42:03.488 > Failed to transform R.jar to match attributes {artifactType=android-classes-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
[HBuilder] 13:42:03.488 > Execution failed for JetifyTransform: uni_modules/uts-toast/utssdk/app-android/libs/R.jar.
[HBuilder] 13:42:03.488 > Failed to transform 'uni_modules/uts-toast/utssdk/app-android/libs/R.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 61. (Run with --stacktrace for more details.)
[HBuilder] 13:42:03.488 Suggestions:
[HBuilder] 13:42:03.488 - Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
[HBuilder] 13:42:03.489 - If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).
[HBuilder] 13:42:03.489
[HBuilder] 13:42:03.489
Try:
[HBuilder] 13:42:03.489 > Run with --stacktrace option to get the stack trace.
[HBuilder] 13:42:03.489 > Run with --info or --debug option to get more log output.
[HBuilder] 13:42:03.489 > Run with --scan to get full insights.
[HBuilder] 13:42:03.489
[HBuilder] 13:42:03.489 * Get more help at https://help.gradle.org
[HBuilder] 13:42:03.489
[HBuilder] 13:42:03.489 BUILD FAILED in 11s
[HBuilder] 13:42:03.489

bug描述:

DCloud-HelloUTS_1.0.1 打底座包报错 Unsupported class file major version 61.
https://ide.dcloud.net.cn/build/errorLog/fe168830-5c02-11ed-8827-c5af431eeea9

2022-11-04 14:33 负责人:无 分享
已邀请:
1***@163.com

1***@163.com

请问问题解决了吗

要回复问题请先登录注册