Install Realm - Kotlin SDK
On this page
The Kotlin SDK supports two platforms, each with its own installation method:
Before getting started, ensure your development environment meets the following prerequisites:
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 (KMM) projects require the following:
Kotlin Multiplatform Mobile (KMM) Plugin for Android Studio, version 0.3.1 or higher.
A KMM App created using the "KMM Application" template in Android Studio. Follow the instructions in the KMM documentation.
For more details on setting up your KMM environment, refer to the official Kotlin Multiplatform documentation. To verify your environment setup, follow Kotlin's guide to checking your environment.
Kotlin Plugin Version
The Kotlin Multiplatform ecosystem frequently changes. If you experience any issues installing the SDK, check your Kotlin Plugin version, since outdated plugins can lead to difficult to debug errors. To see which versions of the Kotlin Plugin are compatible with the SDK, see the realm-kotlin changelog.
Supported Target Environments
Kotlin Multiplatform supports a wide range of application environments.
The SDK supports the following environments:
The SDK does not support the following environments: