apply plugin: 'com.android.library' android { compileSdkVersion 27 buildToolsVersion '27.0.3' defaultConfig { minSdkVersion 16 targetSdkVersion 27 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt') } } externalNativeBuild { ndkBuild { path "src/main/jni/Android.mk" } } } dependencies { implementation 'com.squareup.okhttp:okhttp:2.4.0' implementation 'com.squareup.okio:okio:1.5.0' implementation files('libs/tinyrtsp.jar') // We expose an interface containing a jmDNS class // so we need to expose the jmDNS library to users // at compile time. api files('libs/jmdns-3.4.2.jar') }