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
Specify the language of the codelab if it is not English:
Spanish
In which task and step of the codelab can this issue be found?
Add kotlinx.serialization library dependencies
Describe the problem
In this step you tell us to implement id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" and if this doesn't match the version of Kotlin you are using you would get an error trying to run the app at the end of the codelab.
Steps to reproduce?
Go to... the device to run the app at the final step of the codelab.
Click on... the app icon to run it.
See error... the error in the logcat says: Caused by: kotlinx.serialization.SerializationException: Serializer for class 'MarsPhoto' is not found. Please ensure that class is marked as '@serializable' and that the serialization compiler plugin is applied.
Versions
_Android Studio version:_17.0.11+0--11852314
_API version of the emulator:_35
Additional information Include screenshots if they would be useful in clarifying the problem.
The text was updated successfully, but these errors were encountered:
I encountered the same error here. This step is not mentioned in the codelab, but in my case, I managed to proceed by adding the plugin to the build.gradle at the project level as well:
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" apply false
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:
Spanish
In which task and step of the codelab can this issue be found?
Add kotlinx.serialization library dependencies
Describe the problem
In this step you tell us to implement id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" and if this doesn't match the version of Kotlin you are using you would get an error trying to run the app at the end of the codelab.
Steps to reproduce?
Versions
_Android Studio version:_17.0.11+0--11852314
_API version of the emulator:_35
Additional information
Include screenshots if they would be useful in clarifying the problem.
The text was updated successfully, but these errors were encountered: