2***@qq.com
2***@qq.com
  • 发布:2024-07-23 16:24
  • 更新:2024-09-18 19:57
  • 阅读:113

【报Bug】云打包本地插件报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 14.3.1 (23D60)

HBuilderX类型: 正式

HBuilderX版本号: 4.24

手机系统: 全部

手机厂商: 苹果

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

测试过的手机:

云打包

操作步骤:

提交云打包

预期结果:

打包成功

实际结果:

打包失败

bug描述:

云打包包含本地插件,提交云打包后报错,内容如下:

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
Failed to transform annotation-experimental-1.4.0.aar (androidx.annotation:annotation-experimental:1.4.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for JetifyTransform: /srv/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
Failed to transform '/srv/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 61. (Run with --stacktrace for more details.)
Suggestions:

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.
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).
Try:
Run with --debug option to get more log output.
Run with --scan to get full insights.

2024-07-23 16:24 负责人:无 分享
已邀请:
Jace

Jace

问题解决了吗,我也同样遇到这样的问题

要回复问题请先登录注册