Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Data from the Internet #210

Open
Disona opened this issue Jan 21, 2025 · 0 comments
Open

Get Data from the Internet #210

Disona opened this issue Jan 21, 2025 · 0 comments

Comments

@Disona
Copy link

Disona commented Jan 21, 2025

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

  1. Open build.gradle.kts (Module :app).
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant