Prerequisites
The following development tools are required; see Recommended tool versions below.
You also need a device running Android 5.0 (Lollipop) or higher. The app requires a physical Android device with debugging enabled per Android guidelines (http://developer.android.com/tools/device.html). It will not work on an emulator.
Dependencies
The table below lists the external library dependencies for integrating the SDK and its features. Dependencies for other features are listed under the relevant feature description.
Dependency | Version | Required for |
---|
androidx.appcompat:appcompat | 1.2.0 | Android X general support |
com.google.guava:guava | 31.0.1-android | Google Java Core Libraries |
androidx.room:room-runtime | 2.2.5 | Offline playback feature |
com.google.protobuf:protobuf-lite | 3.0.1 | Handling Widevine-encrypted content |
com.google.ads.interactivemedia.v3:interactivemedia | 3.20.1 | Playing Google IMA ads |
com.google.android.gms:play-services-ads-identifier | 17.0.0 | Playing Google IMA ads |
insight-agent | 1.2.2 | NAGRA Insight agent for collecting statistics |
Build configuration
To build an application with this SDK, the following have to be configured in your Gradle file(s):
Configuration item | Configuration value |
---|
compileSdkVersion | 32 or higher |
minSdkVersion | 21 or higher |
Tool | Recommended version |
---|
Java JDK | 11 |
Gradle | 7.3.2 |
Android Gradle Plugin | 7.0.4 |
Open-source usage
The following third-party software is used and embedded within the CONNECT Player SDK 5 for Android.