Hey, does anyone know what the problem may be? Bui...
# serialization
d
Hey, does anyone know what the problem may be? Build fails and this error comes up:
java.lang.AssertionError: org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationResolveExtension caused LinkageError Caused by: java.lang.NoSuchMethodError: org.jetbrains.kotlin.descriptors.impl.TypeParameterDescriptorImpl.createWithDefaultBound(Lorg/jetbrains/kotlin/descriptors/DeclarationDescriptor;Lorg/jetbrains/kotlin/descriptors/annotations/Annotations;ZLorg/jetbrains/kotlin/types/Variance;Lorg/jetbrains/kotlin/name/Name;ILorg/jetbrains/kotlin/storage/StorageManager;)
I'm also using Compose and its plugin, I'm mentioning it just in case it has something to do with it because I've read here and there that it could be incompatible in some cases but I don't know to what extent. Environment • Kotlin version: 1.3.61/1.3.70 • Library version: 0.14.0/0.20.0 • Kotlin platforms: JVM/Android (Multiplatform Project) • Gradle version: 6.2.1, AGP 4.1.0-alpha02 • IDE version: Android Studio 4.1.0-alpha02
t
Do you use different versions of Kotlin at the same modules?
d
@turansky there's only one version of Kotlin used in the project. I've tried using 1.3.61 with 0.14.0 and 1.3.70 with 0.20.0, no luck
t
Do you have dependencies, which use serialization too?
d
I think only Ktor, but I also adjusted its the version when I switched between 1.3.61 and 1.3.70