Adding dependencies
In your application's build.gradle
, add the dependencies on AndroidX and Room.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.2"
}
}
...
dependencies {
...
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.room:room-runtime:2.2.5"
}
Next step: Instantiating the OTVDownloadManager