Install the Kotlin SDK
On this page
The Atlas Device SDK for Kotlin supports the following platforms. Each has its own installation method and requirements:
Prerequisites
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.
For a list of supported target environments, refer to the Supported Target Environments section on this page.
Additionally, Kotlin Multiplatform (KMP) for mobile projects require the following:
Kotlin Multiplatform Mobile (KMM) Plugin for Android Studio, version 0.3.1 or higher.
A Kotlin Multiplatform (KMP) App created using the "Kotlin Multiplatform App" template in Android Studio. Follow the instructions in the Kotlin Multiplatform documentation.
For more details on setting up your KMP environment, refer to the official Kotlin Kotlin Multiplatform for mobile documentation. To verify your environment setup, follow Kotlin's guide to checking your environment.
Tip
Kotlin Plugin Version
The Kotlin Multiplatform (KMP) 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, refer to the SDK changelog.
Installation
Tip
Atlas Device SDK and Realm
The SDK uses Realm Core database for device data persistence. When you install the Kotlin SDK, the package names reflect Realm naming.
Supported Target Environments
Kotlin Multiplatform (KMP) supports a wide range of application environments Refer also to Kotlin's Multiplatform Gradle DSL reference: Targets documentation.
Supported Environments
The Kotlin SDK supports the following environments:
android
iosArm64
iosSimulatorArm64
iosX64
jvm
macosArm64
macosX64
Unsupported Environments
The Kotlin SDK does not support the following environments:
androidNativeArm32
androidNativeArm64
androidNativeX86
androidNativeX64
iosArm32
js
linuxArm32Hfp
linuxArm64
linuxMips32
linuxMipsel32
linuxX64
mingwX64
mingwX86
tvosArm64
tvosSimulatorArm64
tvosX64
wasm32
watchosArm32
watchosArm64
watchosSimulatorArm64
watchosX86
watchosX64