Kotlin 多平台移动端插件版本发布

Since Kotlin Multiplatform Mobile is now in Beta, we are working on stabilizing the corresponding plugin for Android Studio and will be regularly releasing new versions that include new features, improvements, and bug fixes.

Ensure that you have the latest version of the Kotlin Multiplatform Mobile plugin!

更新到新版本

Android Studio will suggest updating to a new Kotlin Multiplatform Mobile plugin release as soon as it is available. If you accept the suggestion, it will automatically update the plugin to the latest version. You'll need to restart Android Studio to complete the plugin installation.

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

You need a compatible version of Kotlin for the plugin to work correctly. You can find compatible versions in the release details. You can check your Kotlin version and update it in Settings/Preferences | Plugins or in Tools | Kotlin | Configure Kotlin Plugin Updates.

If you do not have a compatible version of Kotlin installed, the Kotlin Multiplatform Mobile plugin will be disabled. You will need to update your Kotlin version, and then enable the plugin in Settings/Preferences | Plugins.

版本发布详情

The following table lists the details of the latest Kotlin Multiplatform Mobile plugin releases:

Release info

Release highlights Compatible Kotlin version

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.