Skip to main content
Skip table of contents

Prerequisites and dependencies

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.

DependencyVersionRequired 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.5Offline 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.0Playing Google IMA ads 
insight-agent 1.2.2NAGRA 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 
compileSdkVersion32 or higher
minSdkVersion21 or higher 

Recommended tool versions

ToolRecommended version
Java JDK11
Gradle7.3.2
Android Gradle Plugin7.0.4

Open-source usage

The following third-party software is used and embedded within the CONNECT Player SDK 5 for Android.

Open-sourceVersionLicenceWebsite
exo-player2.16.1Apache V2.0https://github.com/google/ExoPlayer/blob/release-v2/LICENSE
Java-side open-source libraries
protobuf-lite3.0.1MIThttps://github.com/elderapo/protobuf-lite/blob/master/LICENSE
guava31.0.1-androidApache V2.0https://github.com/google/guava/blob/master/LICENSE
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.