google-developer-training / basic-android-kotlin-compose-birthday-card-app

Apache License 2.0
125 stars 95 forks source link

First Android app: Android Basics with Compose #832

Closed smailmy closed 2 months ago

smailmy commented 2 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-first-app

In which task and step of the codelab can this issue be found? step 6: change the background

Describe the problem the Surface() container is not recognizable by android studio, I think you have to adjust to new version of Android Studio because even the default code of Empty activity is different from the code shown in codelab

Steps to reproduce?

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

Versions Android Studio version: API version of the emulator:

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

smailmy commented 2 months ago

there are multiple Surface code completion recommendations, you have to choose the right one in order to make it works