Kotlin Multiplatform (KMP) enables sharing Kotlin code across different platforms. Kotlin Multiplatform is developed by JetBrains and is officially supported by Google for sharing business logic between Android and iOS. Using KMP to target mobile platforms is stable and production-ready.
Multiplatform Jetpack libraries
Many of our Jetpack libraries have already been migrated to take advantage of KMP. The following Jetpack libraries provide KMP support:
Maven Group ID | Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release | Documentation |
---|---|---|---|---|---|---|
annotation (*) | July 16, 2025 | 1.9.1 | - | - | - | |
collection | March 12, 2025 | 1.5.0 | - | - | - | |
datastore | May 20, 2025 | 1.1.7 | - | - | 1.2.0-alpha02 | Documentation |
lifecycle (*) | July 30, 2025 | 2.9.2 | - | - | 2.10.0-alpha01 | |
paging (*) | July 30, 2025 | 3.3.6 | - | - | 3.4.0-alpha02 | |
room | August 1, 2025 | 2.7.2 | - | 2.8.0-beta01 | - | Documentation |
savedstate | July 30, 2025 | 1.3.1 | - | - | 1.4.0-alpha01 | |
sqlite | August 1, 2025 | 2.5.2 | - | 2.6.0-beta01 | - | Documentation |
Reference documentation
The reference documentation for these libraries (for example,
DataStoreFactory
) marks the APIs based on their availability for common
code, Android, and Native.
You can also filter for declarations by platform at the top of each page. The following table shows the meaning of each marker.
Supported platforms
Jetpack library releases for officially supported platforms, Android and iOS, maintain the same quality and compatibility requirements. However, as we work to expand Jetpack's Kotlin Multiplatform support to other platforms, the tooling and infrastructure support may be a work in progress.
The current level of support for each platform can be summarized in tiers:
Tier 1:
- Fully tested in CI; including both host-side and on-device tests
- Source and binary compatibility tracking in accordance with our semantic versioning policies
Tier 2:
- Partially tested on CI; limited to host-side tests
- No source or binary compatibility tracking
Tier 3:
- Untested on CI
- No source or binary compatibility tracking
Platform | Level of support |
---|---|
Android | Tier 1 |
JVM | Tier 1 |
iOS | Tier 1 |
macOS | Tier 2 |
Linux | Tier 2 |
watchOS | Tier 3 |
tvOS | Tier 3 |
Windows | Tier 3 |
JavaScript | Tier 3 |
WASM | Tier 3 |
Tooling support
You can open, edit, and run multiplatform projects in Android Studio. However, some IDE features aren't yet available for these projects.
Create a new KMP module with Android Studio
You can start migrating to KMP by creating a KMP shared module within Android Studio. This module automatically applies all the necessary plugins, including the Android-KMP plugin, to start developing Android and iOS apps.
Kotlin Multiplatform Android Studio Plugin
We recommend installing the Kotlin Multiplatform Android Studio Plugin developed by JetBrains. This plugin offers several features to ease the development experience:
- New project wizard: Create a new multiplatform project within the IDE.
- Preflight checks: Preflight checks help you configure your environment.
- Run configurations: Run, debug, and test applications on both iOS and Android directly from the IDE.
- Basic Swift support in the IDE: Get basic Swift support in the IDE, including cross-language debugging tools, navigation, and quick documentation.
Additional Resources
For further information about the overall multiplatform ecosystem and more advanced configurations, see the official Kotlin Multiplatform documentation.
The kotlin-multiplatform-samples - showcases some of the functionality of Jetpack libraries in a KMP project.
Get Started with KMP Codelab - guided onboarding how to add KMP to your project.
Migrate Room to Room KMP Codelab - guided migration of Android-only Room to KMP.
Feedback
If you have feedback on these libraries, share it through the issue tracker.
Recommended for you
- Note: link text is displayed when JavaScript is off
- Migrate existing apps to Room KMP Codelab
- Get Started with KMP Codelab
- Use the Android-KMP Gradle plugin