androidx.compose 版本和 kotlin 版本对应不上或者未配置
this version (1.0.0-rc01) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.4.31 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
解决:
composeOptions {
kotlinCompilerVersion Libs.Kotlin.version