e: This version (1.0.1) of the Compose Compiler requires Kotlin version 1.5.21报错

出现了这个报错

e: This version (1.0.1) of the Compose Compiler requires Kotlin version 1.5.21 but you appear to be using Kotlin version 1.5.30 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

解决方案:
1.0.1改为1.0.3

image-20220419221846846

对应版本

  • 1.0.1 -> 1.5.21
  • 1.0.3 -> 1.5.30
  • 1.0.4 -> 1.5.31
posted @ 2022-04-19 22:21  七つ一旋桜  阅读(534)  评论(0)    收藏  举报