-
Notifications
You must be signed in to change notification settings - Fork 115
android 导入sdk报错 Unsupported class file major version 61 #169
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
Comments
本地编译环境版本与sdk版本不兼容,建议使用sdk的3.21.11版本试试。 |
试下依赖排除、降级 |
ojbk了,还得是issues里面有解决方案。 |
场景: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
这个怎么解决?
The text was updated successfully, but these errors were encountered: