google-developer-training / basic-android-kotlin-compose-training-woof

Apache License 2.0
49 stars 71 forks source link

Woof App - WoofTopAppBar - CenterAlignedTopAppBar gives error #87

Open hhasert opened 3 months ago

hhasert commented 3 months ago

URL of codelab

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

Describe the problem The problem is that it needs an override not documented : @OptIn(ExperimentalMaterial3Api::class) Screenshot 2024-02-16 150145

Steps to reproduce?

  1. Just follow the steps in the codelab and Android Studio (HedgeHog) will show the problem

Versions Android Studio version: HedgeHog Android Studio Hedgehog | 2023.1.1 Patch 2 Build #AI-231.9392.1.2311.11330709, built on January 19, 2024 Runtime version: 17.0.7+0-b2043.56-10550314 amd64

API version of the emulator: 34

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

Nicholas-Ustick commented 2 months ago

This a duplicate of #37 which shows the real solution is to update the build configuration.