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

Apache License 2.0
56 stars 87 forks source link

Material Theming: Android Basics with Compose #62

Closed Stereodit closed 1 year ago

Stereodit commented 1 year ago

URL of codelab

At the end of 7th stage. "Run the app and admire how beautifully the TopAppBar ties the app together."

After trying to build a ready-made project, the compiler throws an error.

Steps to reproduce?

  1. Add compose element "CenterAlignedTopAppBar"
  2. Try to build project
  3. See the error in "Build output"

Versions _Android Studio version:_Android Studio Giraffe | 2022.3.1 Patch 1 _API version of the emulator:_Pixel XL API 34

Additional information image

Stereodit commented 1 year ago

The problem happens because commit https://github.com/google-developer-training/basic-android-kotlin-compose-training-woof/commit/9825b94b1382401d64d1ace8866201bcddf5c3c9 is not presented in the starter branch, which enable the use of experimental M3 API.

usermeta1989 commented 1 year ago

URL of codelab

At the end of 7th stage. "Run the app and admire how beautifully the TopAppBar ties the app together."

After trying to build a ready-made project, the compiler throws an error.

Steps to reproduce?

  1. Add compose element "CenterAlignedTopAppBar"
  2. Try to build project
  3. See the error in "Build output"

Versions _Android Studio version:_Android Studio Giraffe | 2022.3.1 Patch 1 _API version of the emulator:_Pixel XL API 34

Additional information image