---
title: Install the Android SDK
slug: feature-experimentation/docs/install-sdk-android
docTags: 
createdAt: 2026-08-05T20:39:59.000Z
---

The Android SDK is distributed through Maven Central. The `android-sdk` package is available on [MavenCentral](https://mvnrepository.com/artifact/com.optimizely.ab/android-sdk).

To add the `android-sdk` and all modules to your project, include this line in your app's `build.gradle` in the `dependencies` block:

```javascript
implementation 'com.optimizely.ab:android-sdk:5.4.0'
```

The Android SDK requires `minSdkVersion` 21 or higher.

:::hint{type="info"}
**Note**
Optimizely previously distributed the Android SDK through Bintray and JCenter.

As of April 27, 2021, [Bintray and JCenter became a read-only repository indefinitely](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/) and the publish repository has been migrated to [MavenCentral](https://mvnrepository.com/artifact/com.optimizely.ab/android-sdk) for the SDK version 3.10.1 and later. Older versions are still available in JCenter.
:::

```java
repositories {
  mavenCentral()
}

dependencies {
  implementation 'com.optimizely.ab:android-sdk:5.4.0'
}
```

The full source code is available on [GitHub](https://github.com/optimizely/android-sdk).
