pre androidX, upgrade to 28

This commit is contained in:
vok
2019-06-21 09:32:51 +07:00
parent ed25b3f924
commit a203aeadea
7 changed files with 8 additions and 23 deletions

View File

@@ -125,19 +125,10 @@ project(':react-native-video').projectDir = new File(rootProject.projectDir, '..
dependencies {
...
compile project(':react-native-video')
+ implementation "androidx.appcompat:appcompat:1.0.0"
- implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
}
```
**android/gradle.properties**
Migrating to AndroidX:
```gradle.properties
android.useAndroidX=true
android.enableJetifier=true
```
**MainApplication.java**