google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 97 forks source link

Intro to state in Compose: Android Basics with Compose #231

Open MainActivityKt opened 2 months ago

MainActivityKt commented 2 months ago

URL of codelab

In which task and step of the codelab can this issue be found?

Last section step 5: Run the app and enter text in the text box. The text box still shows a 0 value as you can see in this image:

Describe the problem

The app doesn't run when it has a compile-time error, as stated in

This results in this compilation warning in Android Studio, but you fix it soon

Steps to reproduce?

  1. Go to Intro to state in Compose section 5
  2. Implement the tutorial up to stage 5 -> step 5 (inclusive)
  3. See error...

Versions Android Studio version: 2024.1.2 _API version of the emulator: Physical device (API 28)

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