Android Studio 插件版本发布

The Kotlin Multiplatform plugin for Android Studio helps you develop applications both for Android and iOS. Ensure that you have the latest version of the plugin to work with Kotlin Multiplatform projects.

For the information on the Kotlin Multiplatform Gradle plugin, see its DSL reference and the Compatibility guide.

{style="tip"}

更新到新版本

Android Studio suggests updating to a new Kotlin Multiplatform plugin release as soon as it's available. If you accept the suggestion, it automatically updates the plugin to the latest version. To complete the plugin installation, restart your Android Studio.

You can check the plugin version and update it manually in Settings | Plugins.

You need a compatible version of Kotlin for the plugin to work correctly. You can find compatible versions in the release details. To check your Kotlin version and update it, go to Settings | Plugins or in Tools | Kotlin | Configure Kotlin in Project.

If you don't have a compatible version of Kotlin installed, the Kotlin Multiplatform plugin will be disabled. Update your Kotlin version, and then enable the plugin again in Settings | Plugins.

{style="note"}

版本发布详情

The following table lists the details of the latest releases of Kotlin Multiplatform plugin for Android Studio:

Release info

Release highlights Compatible Kotlin version

0.8.4

Released: 06 December, 2024

  • Support for Kotlin’s K2 mode for improved stability and code analysis.

0.8.3

Released: 23 July, 2024

  • Fixes for Xcode compatibility issues.

0.8.2

Released: 16 May, 2024

  • Support for Android Studio Jellyfish and for the new Canary version, Koala.
  • Added declarations of sourceCompatibility and targetCompatibility in the shared module.

0.8.1

Released: 9 November, 2023

  • Updated Kotlin to 1.9.20.
  • Updated Jetpack Compose to 1.5.4.
  • Enabled Gradle build and configuration caches by default.
  • Refactored build configurations for the new Kotlin version.
  • iOS framework is now static by default.
  • Fixed an issue running on iOS devices with Xcode 15.

0.8.0

Released: 5 October, 2023

  • KT-60169 Migrated on the Gradle version catalog.
  • KT-59269 Renamed android to androidTarget.
  • KT-59269 Updated Kotlin and dependency versions.
  • KTIJ-26773 Refactored to use -destination argument instead of -sdk and -arch.
  • KTIJ-25839 Refactored generated file names.
  • KTIJ-27058 Added the JVM target config.
  • KTIJ-27160 Supported Xcode 15.0.
  • KTIJ-27158 Moved the new module wizard to the experimental state.

0.6.0

Released: 24 May, 2023

  • Support of the new Canary Android Studio Hedgehog.
  • Updated versions of Kotlin, Gradle, and libraries in the Multiplatform project.
  • Applied new targetHierarchy.default() in the Multiplatform project.
  • Applied source set name suffixes to platform-specific files in the Multiplatform project.

0.5.3

Released: 12 April, 2023

  • Updated Kotlin and Compose versions.
  • Fixed an Xcode project scheme parsing.
  • Added a scheme product type check.
  • iosApp scheme is now selected by default if presented.

0.5.2

Released: 30 January, 2023

0.5.1

Released: 30 November, 2022

0.5.0

Released: 22 November, 2022

0.3.4

Released: 12 September, 2022

0.3.3

Released: 9 June, 2022

  • Updated dependency on Kotlin IDE plugin 1.7.0.

0.3.2

Released: 4 April, 2022

  • Fixed the performance problem with the iOS application debug on Android Studio 2021.2 and 2021.3.

0.3.1

Released: 15 February, 2022

0.3.0

Released: 16 November, 2021

0.2.7

Released: August 2, 2021

0.2.6

Released: June 10, 2021

  • Compatibility with Android Studio Bumblebee Canary 1.
  • Support for Kotlin 1.5.20: using the new framework-packing task for Kotlin/Native in the Project Wizard.

0.2.5

Released: May 25, 2021

0.2.4

Released: May 5, 2021

Use this version of the plugin with Android Studio 4.2 or Android Studio 2020.3.1 Canary 8 or higher.

0.2.3

Released: April 5, 2021

0.2.2

Released: March 3, 2021

0.2.1

Released: February 15, 2021

Use this version of the plugin with Android Studio 4.2.

0.2.0

Released: November 23, 2020

0.1.3

Released: October 2, 2020

  • Added compatibility with iOS 14 and Xcode 12.
  • Fixed naming in platform tests created by the Kotlin Multiplatform Mobile Wizard.

0.1.2

Released: September 29, 2020

  • Fixed compatibility with Kotlin 1.4.20-M1.
  • Enabled error reporting to JetBrains by default.

0.1.1

Released: September 10, 2020

  • Fixed compatibility with Android Studio Canary 8 and higher.

0.1.0

Released: August 31, 2020

  • The first version of the Kotlin Multiplatform Mobile plugin. Learn more in the blog post.