Supported platforms
Kotlin supports the following platforms and provides target presets for each platform. See how to use a target preset.
Target platform |
Target preset |
Comments |
---|---|---|
Kotlin/JVM |
|
|
Kotlin/JS |
|
Select the execution environment:
Learn more in Setting up a Kotlin/JS project. |
Android applications and libraries |
|
Manually apply an Android Gradle plugin – You can only create one Android target per Gradle subproject. |
Android NDK |
|
The 64-bit target requires a Linux or macOS host. You can build the 32-bit target on any supported host. |
iOS |
|
Requires a macOS host. |
watchOS |
|
Requires a macOS host. |
tvOS |
|
Requires a macOS host. |
macOS |
|
Requires a macOS host. |
Linux |
|
Linux MIPS targets ( You can build other Linux targets on any supported host. |
Windows |
|
|
WebAssembly |
|
© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/docs/mpp-supported-platforms.html