unity-sdk icon indicating copy to clipboard operation
unity-sdk copied to clipboard

Execution failed for task ':launcher:checkReleaseDuplicateClasse'

Open nintendaii opened this issue 1 year ago • 7 comments

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.)

Screenshot 2024-02-27 at 16 08 45

nintendaii avatar Feb 27 '24 14:02 nintendaii

Hello!

The Unsupported class file major version 60. error usually means inconsistency with the JDK version. Which version do you use?

SpertsyanKM avatar Feb 27 '24 15:02 SpertsyanKM

Hey, thanks for the reply. I am using JDK version that comes with Unity by default Screenshot 2024-02-27 at 17 30 48

nintendaii avatar Feb 27 '24 15:02 nintendaii

I assume this is version 8 since I am using Unity 2021.2.10 Screenshot 2024-02-27 at 17 32 36

nintendaii avatar Feb 27 '24 15:02 nintendaii

We will need some time to dig deeper into this issue. I'll come back as soon as I have any news.

SpertsyanKM avatar Feb 28 '24 12:02 SpertsyanKM

Sure, thanks!

nintendaii avatar Feb 28 '24 12:02 nintendaii

Hey @SpertsyanKM. Any update on this issue?

nintendaii avatar Mar 06 '24 15:03 nintendaii

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.

SpertsyanKM avatar Mar 07 '24 09:03 SpertsyanKM

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?

SpertsyanKM avatar Aug 20 '24 10:08 SpertsyanKM

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 26 '24 01:08 github-actions[bot]