To get started using the Android Player SDK, you will first need to install the Android SDK and Android Virtual Device (AVD), and then set up the Player SDK for Android.
Step 1: Install the Android SDK
- In the Android Studio menu, navigate to Tools > Android > SDK Manager.
- Click the SDK Platforms tab.
- Install at least the following required SDK levels and all levels in between:
- Minimum API: Android KitKat (API 19)
- Target API: Android M (API 23)
- Click the SDK Tools tab and install Android SDK Tools version 23.0.1 or later.
Step 2: Install Android Virtual Device (AVD)
- In the Android Studio menu, navigate to Tools > Android > AVD Manager.
- Click Create Virtual Device….
- Install at least one AVD that targets Android KitKat (API 19) and above. To learn how to set up an AVD in Android Studio, follow the instructions in this article.
Set up the Player SDK
- Clone the Android SDK and make sure that it resides in the same folder as your application:
git clone https://github.com/kaltura/player-sdk-native-android.git
Next, edit the
Setting.gradlefile as follows:
Synchronize the project with the updated gradle:
Make sure that you cloned the
player-sdk-native-androidproject to the same folder of your project; if you prefer to clone it in another location, remember to update the
settings.gradlewith the relevant path.
Right-click your application folder and select
Open Module Settings.
- Select the
Dependenciestab, click the
+button and then choose the playerSDK as