Skip to main content
Install and initialize the LaunchDarkly Android SDK to start evaluating feature flags in your application.

Install the package

The SDK uses AndroidX from Jetpack. If your project does not use AndroidX, read Android’s migration guide.

Initialize the SDK for feature management

Android SDK initialization

Initialize the SDK for feature management and Experimentation

If you want to use the LaunchDarkly Experimentation feature, include a track call in your initialization code:
Android SDK initialization for Experimentation
You can find your server-side SDK keys, mobile keys, and client-side ID on the SDK keys page under Settings.
To learn more, read Initialize the client in the Android SDK reference guide.