一、遇到问题
This version (1.4.3) of the Compose Compiler requires Kotlin version 1.8.10 but you appear to be using Kotlin version 1.9.0 which is not known to be compatible.
二、解决方案
(一)找到官网兼容性对应关系图
(二)进行修改
比如我的Kotlin版本是1.9.0,对应需要将Compose Complier版本修改为1.5.0