change dead code in example
This commit is contained in:
parent
1cd979625f
commit
438df8b188
@ -83,16 +83,16 @@ def enableSeparateBuildPerCPUArchitecture = false
|
|||||||
def enableProguardInReleaseBuilds = false
|
def enableProguardInReleaseBuilds = false
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||||
buildToolsVersion '28.0.3'
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.videoplayer"
|
applicationId "com.videoplayer"
|
||||||
minSdkVersion 16
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion 28
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
ndk {
|
ndk {
|
||||||
@ -133,8 +133,8 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':react-native-video')
|
implementation project(':react-native-video')
|
||||||
compile "com.android.support:appcompat-v7:28.0.0"
|
compile "com.android.support:appcompat-v7:28.0.0"
|
||||||
|
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
|
||||||
implementation "com.facebook.react:react-native:+" // From node_modules
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
||||||
// implementation project(':react-native-video')
|
|
||||||
// compile project(':react-native-video-exoplayer') // uncomment to use exoplayer
|
// compile project(':react-native-video-exoplayer') // uncomment to use exoplayer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user