Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 导入sdk报错 Unsupported class file major version 61 #169

Open
lyxxman opened this issue Dec 13, 2024 · 0 comments
Open

android 导入sdk报错 Unsupported class file major version 61 #169

lyxxman opened this issue Dec 13, 2024 · 0 comments

Comments

@lyxxman
Copy link

lyxxman commented Dec 13, 2024

场景:android接入sdk
项目配置:
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
导入版本:
implementation('com.huaweicloud:esdk-obs-android:3.24.9'){
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
}
报错:
Caused by: org.gradle.api.internal.artifacts.transform.TransformException: Failed to transform jackson-core-2.15.4.jar (com.fasterxml.jackson.core:jackson-core:2.15.4) to match attributes {artifactType=enumerated-runtime-classes, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 61
这个怎么解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant