Open saadkhalidkhan opened 10 months ago
Thanks for pointing this out, I may have forgotten to use lower JDK when publishing this library.
Try the snapshot version 0.1-SNAPSHOT
and see if the problem persists.
Yes I tried with that but the problem persists.
I suppose a quick fix would be to use at least JDK 17, while I fix this issue.
Understand, but tried with 11 and 17. None of them worked.
Try setting explicitly to JDK 17 in system environments, quit IDE, kill all java
processes, then try again. I'm almost certain this is related to JDK 17.
Still facing the same issue
android.useAndroidX=true
on your gradle.properties
.Post your build scripts if it still fails.
This is the main cause where i am facing issue. I have updated all dependencies but still same persists.
Can you please update me on this?
That is not a buildscript. I mean your build.gradle
files.
You need to set Java toolchain, check the link I sent you.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
// or
kotlin {
jvmToolchain 17
}
Hi,
I changed my laptop and this library is not working, I am trying to reosolve this since last two days but unable to resolve it. Please help me on that.
Error:
AGPBI: {"kind":"error","text":"java.lang.IllegalArgumentException: Unsupported class file major version 61","sources":[{"file":"C:\\Users\\ranas\\.gradle\\caches\\transforms-3\\c1e2b2487ebebd69520897cd113fafc0\\transformed\\jetified-socialview-0.1-runtime.jar"}],"tool":"D8"}
jetified-socialview-0.1-runtime.jar
When I remove this library everything works fine. Please guide me. Thank you![Screenshot 2023-08-24 223344](https://github.com/hendraanggrian/socialview/assets/37332584/8b607e79-04cf-4d7d-a128-74268a9e5537)