unity-sdk
unity-sdk copied to clipboard
Execution failed for task ':launcher:checkReleaseDuplicateClasse'
Hey. I am new to Quonversion. I have tried to import the SDK following this guide (except multidex step) and then tried to build the project but I have got this error. I already had a Unity IAP implemented so I also excluded the billingclient dependency.
Unity: 2021.2.10f1
Qonversion: 7.0.0
Here are some logs:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'. Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'. Failed to transform moshi-1.14.0.jar (com.squareup.moshi:moshi:1.14.0) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.environment=standard-jvm, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}. Execution failed for JetifyTransform: /Users/daniel/.gradle/caches/modules-2/files-2.1/com.squareup.moshi/moshi/1.14.0/df173a3bfa0bd9e0cd2a8fc14b24fc336dca0de0/moshi-1.14.0.jar. > Failed to transform '/Users/daniel/.gradle/caches/modules-2/files-2.1/com.squareup.moshi/moshi/1.14.0/df173a3bfa0bd9e0cd2a8fc14b24fc336dca0de0/moshi-1.14.0.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 60. (Run with --stacktrace for more details.)
Hello!
The Unsupported class file major version 60. error usually means inconsistency with the JDK version. Which version do you use?
Hey, thanks for the reply. I am using JDK version that comes with Unity by default
I assume this is version 8 since I am using Unity 2021.2.10
We will need some time to dig deeper into this issue. I'll come back as soon as I have any news.
Sure, thanks!
Hey @SpertsyanKM. Any update on this issue?
Hello, @nintendaii. We understand the problem criticality for you, but we will need more time for investigation due to high level of support requests in a while. Sorry for that. We will try our best to return as soon as possible.
Hello, @nintendaii.
Thank you for your patience and for bringing this issue to our attention. I sincerely apologize for the delay in getting back to you.
I've reviewed the issue you reported, but unfortunately, I was unable to reproduce it on my end. I've created a bare project on the minimally supported Unity version - 2021.3, followed the documentation steps to import our SDK and it worked as expected. The difference is that my Unity installation uses JDK 11, the supported version for Unity 2021.3.
If your issue is still relevant, have you tried to upgrade your Unity version to 2021 or higher?
This issue was closed because it has been stalled for 5 days with no activity.