Docs Menu

Install (Kotlin Multiplatform) - Kotlin SDK

  • Android Studio Bumblebee 2021.1.1 or higher.
  • JDK 11 or higher
  • Kotlin Plugin for Android Studio, version 1.6.10 or higher.
  • An Android Virtual Device (AVD) using a supported CPU architecture.

Additionally, Kotlin Multiplatform projects require the following:

Note
Android Module Dependencies

If you use any part of the SDK inside the Android module, add the SDK's compile-time dependency to your Android module build.gradle.kts:

dependencies {
compileOnly("io.realm.kotlin:library:0.11.1")
}

After updating the Gradle configuration, resolve the dependencies by clicking File > Sync Project with Gradle Files in the Android Studio menu bar. You can now use the Kotlin SDK in your application.

Kotlin Multiplatform supports a wide range of application environments. The SDK supports the following subset:

  • android
  • iosArm64
  • iosSimulatorArm64
  • iosX64
  • jvm
  • macosArm64
  • macosX64

The SDK does not support the following subset:

  • androidNativeArm32
  • androidNativeArm64
  • androidNativeX86
  • androidNativeX64
  • iosArm32
  • js
  • linuxArm32Hfp
  • linuxArm64
  • linuxMips32
  • linuxMipsel32
  • linuxX64
  • mingwX64
  • mingwX86
  • tvosArm64
  • tvosSimulatorArm64
  • tvosX64
  • wasm32
  • watchosArm32
  • watchosArm64
  • watchosSimulatorArm64
  • watchosX86
  • watchosX64
←  Install (Android) - Kotlin SDKQuick Start - Kotlin SDK →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.