You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In which task and step of the codelab can this issue be found?
Step 8. Parse the JSON response with kotlinx.serialization: Add kotlinx.serialization library dependencies
Open build.gradle.kts (Module :app).
In the plugins block, add kotlinx serialization plugin.
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10"
Describe the problem
As of 21 Jan 2025 version "1.8.10" of kotlinx.serialization lib causes app to crash.
Soluiton
Change version to 1.9.10 as in the Solution ("repo-starter" branch).
Steps to reproduce?
Complete step "Parse the JSON response with kotlinx.serialization" and try to start the app.
Versions Android Studio version: Android Studio Ladybug Feature Drop | 2024.2.2 API version of the emulator: dunno, run on a physical device with Android 11
The text was updated successfully, but these errors were encountered:
URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-5-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-getting-data-internet#7
In which task and step of the codelab can this issue be found?
Step 8. Parse the JSON response with kotlinx.serialization: Add kotlinx.serialization library dependencies
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10"
Describe the problem
As of 21 Jan 2025 version "1.8.10" of kotlinx.serialization lib causes app to crash.
Soluiton
Change version to 1.9.10 as in the Solution ("repo-starter" branch).
Steps to reproduce?
Complete step "Parse the JSON response with kotlinx.serialization" and try to start the app.
Versions
Android Studio version: Android Studio Ladybug Feature Drop | 2024.2.2
API version of the emulator: dunno, run on a physical device with Android 11
The text was updated successfully, but these errors were encountered: