Box Developer Documentation

Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Android SDK Installation

Guides Mobile Android Android SDK Installation
Edit this page

Android SDK Installation

As of May 31, 2023 Android SDK is no longer supported. You can still use your existing Android SDK applications with no impact, but you won't receive new features, updates, or bug fixes.

If you would like to continue getting the latest and greatest Android features, we recommend using Java SDK to build apps on Android. Refer to this documentation for more details.

The Android SDK may be obtained through several methods:

  • Adding as a Maven or Gradle dependency
  • Cloning the source into your project
  • Downloading one of the precompiled JARs

Add as a Maven dependency

Add the following to your Maven dependencies.

<dependency>
    <groupId>com.box</groupId>
    <artifactId>box-android-sdk</artifactId>
</dependency>

Add as a Gradle dependency

Add the following to your build.gradle file.

dependencies {
    implementation 'com.box:box-android-sdk:4.2.3'
}

Clone the source

The Box Android SDK source code may be obtained by cloning or downloading the project from Github.

Download precompiled JARs

Precompiled JARs for the Android SDK may be obtained from the Github project releases page

If one of the precompiled JARs is being used, the Android SDK will also require the following dependency: minimal-json v0.9.1 (for Maven: com.eclipsesource.minimal-json:minimal-json:0.9.1)