为 IntelliJ IDEA 或 Android Studio 安装 EAP 插件
Latest Kotlin EAP release: 2.0.0-RC3
Starting from IntelliJ IDEA 2023.3 and Android Studio Iguana (2023.2.1) Canary 15, the Kotlin plugin doesn't need to be configured separately. All you need to do is change the Kotlin version in your build scripts.
You can follow these instructions to install the preview version of the Kotlin Plugin for IntelliJ IDEA or Android Studio.
Select Tools | Kotlin | Configure Kotlin Plugin Updates.
In the Update channel list, select the Early Access Preview channel.
Click Check again. The latest EAP build version appears.
If the Kotlin EAP plugin can't find the latest EAP build, check that you are using the latest version of IntelliJ IDEA or Android Studio.
- Click Install.
If you want to work on existing projects that were created before installing the EAP version, you need to configure your build for EAP.
If you run into any problems
- Report an issue to our issue tracker, YouTrack.
- Find help in the #eap channel in Kotlin Slack (get an invite).
- Roll back to the latest stable version: in Tools | Kotlin | Configure Kotlin Plugin Updates, select the Stable update channel and click Install.