https://kotlinlang.org logo
Title
a

Abdulrahman Mustafa salah el din mohamed

04/18/2023, 9:34 AM
kotlinx.serialization.json.internal.JsonDecodingException: Polymorphic serializer was not found for missing class discriminator ('null') failed when enabled R8 issue related to proguard-rules.pro what should I add to solve the problem
1.5.0 bundles Proguard Rules which fixed my issues. Are you using 1.5.0?
a

Abdulrahman Mustafa salah el din mohamed

04/19/2023, 10:50 AM
i upgrade to Android Gradle Plugin (AGP) 8.0 hence the R8 full mode by default so i disabled it to solve issue the proguard rules provided fromhttps://github.com/Kotlin/kotlinx.serialization not working with me