This version (1.0.0-beta07) of the Compose Compiler requires Kotlin version 1.4.32 but you appear t

If this kind of problem occurs, there is no need to roll back the KT version. Think about it, if Compose can’t even support the higher version of KT, then it’s still useless. Add the following in app.build:、

composeOptions {
    kotlinCompilerExtensionVersion compose_version
}

get it done

Guess you like

Origin blog.csdn.net/howlaa/article/details/124327029