In which task and step of the codelab can this issue be found?Add color palette to the theme
Open Theme.kt...
Describe the problem
I use
Android Studio Giraffe (2022.3.1, Build #AI-223.8836.35.2231.10406996, built on June 29, 2023, Runtime version: 17.0.6+0-b2043.56-10027231 amd64, VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.)
In the
Theme.kt
file I created the theme the way as how you described and I have the same code like you. But with only your code all_the_colors both in LightColors and in DarkColors variables were red errors. I was trying to fix them and found it needed one another import (I didn't see it in your code):
import com.example.compose.*
I enjoy your stuff, videos and everything, it is very exciting! THANK YOU! <3
Steps to reproduce?
Go to...
Click on...
See error...
VersionsAndroid Studio version:API version of the emulator:
Additional informationInclude screenshots if they would be useful in clarifying the problem.
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-material-theming?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-material-theming#3
In which task and step of the codelab can this issue be found? Add color palette to the theme
Describe the problem I use Android Studio Giraffe (2022.3.1, Build #AI-223.8836.35.2231.10406996, built on June 29, 2023, Runtime version: 17.0.6+0-b2043.56-10027231 amd64, VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.) In the Theme.kt file I created the theme the way as how you described and I have the same code like you. But with only your code all_the_colors both in LightColors and in DarkColors variables were red errors. I was trying to fix them and found it needed one another import (I didn't see it in your code): import com.example.compose.*
I enjoy your stuff, videos and everything, it is very exciting! THANK YOU! <3
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.