apply plugin: 'com.android.library' android { compileSdkVersion 23 buildToolsVersion "25.0.2" defaultConfig { minSdkVersion 16 targetSdkVersion 23 } } dependencies { provided 'com.facebook.react:react-native:+' compile 'com.google.android.exoplayer:exoplayer:2.7.2' compile('com.google.android.exoplayer:extension-okhttp:2.7.2') { exclude group: 'com.squareup.okhttp3', module: 'okhttp' } compile 'com.squareup.okhttp3:okhttp:3.4.2' }