Environment Configuration
Turn on Java 8 support
You also need to turn on Java 8 support in application's build.gradle, by adding the following to the android section:
Add Uses Permission
Add in app/src/main/AndroidManifest.xml:
Allow HTTP Request (Only required by HLS, DASH)
Starting with Android 9 (API level 28), cleartext support is disabled by default. There are 2 solutions: (1) set targetSdkVersion under 27 (2) Add the attribute below in app/src/main/AndroidManifest.xml to indicate that the app intends to use cleartext HTTP:
Proguard Configuration
Add the following code in proguard-rules.pro:
Last updated
Was this helpful?