为 IntelliJ IDEA 或 Android Studio 安装 EAP 插件

Latest Kotlin EAP release: 2.0.0-RC3

Explore Kotlin EAP release details

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.

  1. Select Tools | Kotlin | Configure Kotlin Plugin Updates.

    Select Kotlin Plugin Updates

  1. In the Update channel list, select the Early Access Preview channel.

    Select the EAP update channel

  1. Click Check again. The latest EAP build version appears.

    Install the EAP build

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.

  1. 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