Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
[8. Parse the JSON response with kotlinx.serialization]
Update MarsApiService and MarsViewModel
Step 7. To print the number of photos retrieved, update marsUiState as follows:
Describe the problem
At this step, the app crashes. This can be solved by changing id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" to "1.9.10"
Steps to reproduce?
Go to...
Click on...
See error...
VersionsAndroid Studio version:
Android Studio Koala | 2024.1.1 Canary 7
Build #AI-241.14494.240.2411.11771556, built on April 27, 2024
Runtime version: 17.0.10+0--11609105 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4082M
Cores: 20
Registry:
ide.experimental.ui=true
_API version of the emulator:_34
Additional informationInclude screenshots if they would be useful in clarifying the problem.
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
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found? [8. Parse the JSON response with kotlinx.serialization] Update MarsApiService and MarsViewModel Step 7. To print the number of photos retrieved, update marsUiState as follows:
Describe the problem At this step, the app crashes. This can be solved by changing id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" to "1.9.10"
Steps to reproduce?
Versions Android Studio version: Android Studio Koala | 2024.1.1 Canary 7 Build #AI-241.14494.240.2411.11771556, built on April 27, 2024 Runtime version: 17.0.10+0--11609105 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 4082M Cores: 20 Registry: ide.experimental.ui=true
_API version of the emulator:_34
Additional information Include screenshots if they would be useful in clarifying the problem.