<img src="https://img.shields.io/badge/%20-ENTERPRISE-%23B10031" style="float:left"/><br /> <img src="https://img.shields.io/badge/Android-V4-009727?logo=android" style="float:left"/>
<br />
To add JWP's video experience to your app, you must import the JWP Android SDK and then configure your project.
You can download the SDK using the Gradle or Local approaches listed below.
Approach | Notes |
**[Gradle](🔗)**<br />_(Recommended)_ | • Gradle will download the SDK’s core and optional modules for you.<br />• ProGuard is automatically configured.<br />• An existing app is required. |
**[Local](🔗)** | • The JWP Android SDK must be downloaded and unzipped.<br />• Core and optional modules must be imported manually.<br />• ProGuard must be configured.<br />• An existing app is required. |

If you have any problems completing any of these tasks and have a valid JWP license, please <a href="https://support.jwplayer.com/hc/en-us/requests/new" target="_blank">log a support ticket</a> for assistance.
<br /> <hr />
## Gradle
Import the Android SDK into your project with Gradle.
From within Android Studio, open your app.
In the _project_ **build.gradle** file, add the JWP Maven repository.
<br />
In the _app_ **build.gradle** file:
Add the dependencies. When prompted by Android Studio, update the dependency versions.
Configure `
compileOptions
` to support Java 8 language support.
<br />
In the **gradle.properties** file, set `
android.useAndroidX
` and `android.enableJetifier
` to `true
`. These plugin files <a href="https://developer.android.com/jetpack/androidx#using_androidx_libraries_in_your_project" target="_blank">enable you to use androidx-namespaced libraries in your project</a>.
If you are using a current version of Android Studio, the <strong>gradle.properties</strong> file should already contain these settings.
<br />
<br />
Sync Gradle.
<br />
You have imported the JWP Android SDK into your project. You can now [configure ProGuard](🔗) and [configure the manifest](🔗).
<br /> <hr />
## Local
### Download the SDK .zip file
On your <a href="https://dashboard.jwplayer.com/p/players" target="_blank"><strong>Players</strong></a> page under **Android SDK**, click **Downloads**. The **Android SDK Downloads** panel opens.

If you have more than one property in your account, select the property from the dropdown menu at the top of the page. Each property has a unique set of license keys.
<br />
Click the download icon for the version of the Android SDK that you want to download.
On your computer, unzip the SDK **.zip** file.
<br /> <br />
### Add the SDK dependencies
From within Android Studio, open your app.
Create a new directory in your **app** directory named **libs**.
Copy and paste **jwplayer-core-x.x.x.aar** into the **libs** folder.
Copy and paste **jwplayer-common-x.x.x.aar** into the **libs** folder.
<br /> <br />
### Complete app and project configurations
In the _app_ **build.gradle** file:
Add the dependencies. When prompted by Android Studio, update the dependency versions.
Configure `
compileOptions
` to support Java 8 language support.
<br />
In the **gradle.properties** file, set `
android.useAndroidX
` and `android.enableJetifier
` to `true
`. These plugin files <a href="https://developer.android.com/jetpack/androidx#using_androidx_libraries_in_your_project" target="_blank">enable you to use androidx-namespaced libraries in your project</a>.
If you are using a current version of Android Studio, the <strong>gradle.properties</strong> file should already contain these settings.
<br />
<br />
Sync Gradle.
You have imported the JWP Android SDK into your project. You can now [configure ProGuard](🔗) and [configure the manifest](🔗).
<br />