我已迁移到 kotlin 2.0.10 并在 Android Studio 中启用了 K2 编译器
现在我在所有 gradle 构建 kts 文件中看到此消息
这是我正在使用的Android Studio版本
Android Studio Koala | 2024.1.1
Build #AI-241.15989.150.2411.11948838, built on June 10, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11609105 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
Kotlin Plugin: K2 Kotlin Mode (Alpha)
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 16
Metal Rendering is ON
Registry:
ide.instant.shutdown=false
ide.experimental.ui=true
此外,我的 kts 构建文件中没有代码突出显示或代码完成。
我能解决这个问题吗?除了禁用 K2 之外?