google-developer-training / basic-android-kotlin-compose-training-mars-photos

Solution code for Android Basics in Kotlin course
https://developer.android.com/courses/android-basics-kotlin/course?gclid=CjwKCAjw4c-ZBhAEEiwAZ105RTyT-iaLHzrhMBUXdMhO230ZDwOwxxI2x4RgK8DwBxK8t1h0wmU_QxoCi4YQAvD_BwE
Apache License 2.0
66 stars 54 forks source link

Get Data from the Internet #138

Open uaDest opened 3 months ago

uaDest commented 3 months ago

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#4

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

Describe the problem plugin id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" throws an exception java.lang.IllegalArgumentException: Unable to create converter for java.util.List

Changing to version 1.9.23 solves the problem

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions _Android Studio version:_Android Studio Iguana | 2023.2.1 Patch 1 API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.

scharffc commented 2 months ago

I also had the same issue and moved to 1.9.23 and it solved the issue.