google-developer-training / android-kotlin-fundamentals-starter-apps

android-kotlin-fundamentals-starter-apps
Other
1.1k stars 3.32k forks source link

Android Kotlin Fundamentals codelab: Lesson 8.1, Starter Code #40

Closed anotheraccountusername closed 4 years ago

anotheraccountusername commented 4 years ago

Describe the problem The starter code has version_retrofit "2.5.0" which is too old. Last Task will build but won't work properly.

In which lesson and step of the codelab can this issue be found? Lesson: 8.1, Task 6 ( Starter code )

How to reproduce? Follow changes up to Task 6. Change code to support coroutines , run app on emulator, it produces following Exception : "No Retrofit annotation found. (parameter google-developer-training/android-kotlin-fundamentals-apps#1) for method MarsApiService.getProperties "

Versions

  1. What version of Android Studio are you using? 4.0.1
  2. What API level are you targeting? 30

Additional information Change the "version_retrofit" to "2.9.0" will fix the problem.

codelab: android-kotlin-fundamentals