java.lang.VerifyError: class kotlinx.serialization.json.internal.StreamingJsonDecoder overrides final method kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(Lkotlinx/serialization/descriptors/SerialDescriptor;ILkotlinx/serialization/DeserializationStrategy;Ljava/lang/Object;)Ljava/lang/Object;
p
Petter Måhlén
06/29/2022, 11:37 AM
could it be a version mismatch between
kotlinx-serialization-core
and
kotlinx-serialization-json
?
r
ribesg
06/29/2022, 11:39 AM
Maybe. I get this crash in a script which depends on a kmp lib. The kmp lib has this dependency, among others.
could be imported as a transitive dependency of another dependency like ktor or something
ribesg
06/29/2022, 12:00 PM
That doesn’t seem to work
ribesg
06/29/2022, 12:02 PM
It started from a version that had a few changes, but one of them is adding dependency to ktor resources plugin so maybe it’s a transitive dependency of that