Hey guys, I’m getting this error after switching t...
# android
l
Hey guys, I’m getting this error after switching to Kotlin 1.8.22 (happens also in 1.8.20 but does not happen in 1.8.10) and having AGP of 8.0.2
Copy code
Caused by: java.lang.IllegalStateException: Artifacts of dependency org.jetbrains.kotlinx:kotlinx-serialization-core-metadata:1.0.0 is built by old Kotlin Gradle Plugin and can't be consumed in this way
Did anyone encounter this already?
k
bump your kotlinx.serialization version...that's that the msg means.
l
That did not help, I have it at 1.8.22 and json library at 1.5.1 Also, I am using KMM for context
I found it: com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter had version 0.8.0 which wasn’t compatible with 1.8.22
👍 4