-
Notifications
You must be signed in to change notification settings - Fork 104
Description
URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?hl=en#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
Describe the problem
java.lang.IllegalArgumentException: Unable to create converter for java.util.List<com.example.marsphotos.network.MarsPhoto>
for method MarsApiService.getPhotos
Steps to reproduce?
- Run the app.
- When the app faces FATAL EXCEPTION, see the logcat.
Versions
_Android Studio version:_Android Studio Meerkat | 2024.3.1 Patch 2
_API version of the emulator:_Nexus 5X
Additional information
Include screenshots if they would be useful in clarifying the problem.
According to https://note.com/haine_rion23/n/n3a7c40c015da, I have changed the "org.jetbrains.kotlin.plugin.serialization" version to 1.9.10. It works but I cannot see why it is solved and would know how to review the update history of this plugin.
