Kaynağa Gözat

[Android] Use an appropriate Android support library version

It must match the compileSdkVersion major number.
master
Saúl Ibarra Corretgé 8 yıl önce
ebeveyn
işleme
0d33844d51
2 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 4
    0
      android/build.gradle
  2. 1
    1
      android/sdk/build.gradle

+ 4
- 0
android/build.gradle Dosyayı Görüntüle

18
     repositories {
18
     repositories {
19
         mavenLocal()
19
         mavenLocal()
20
         jcenter()
20
         jcenter()
21
+        maven {
22
+            // Google's maven repository, required for AppCompat
23
+            url "https://maven.google.com"
24
+        }
21
         maven {
25
         maven {
22
             // All of React Native (JS, Obj-C sources, Android binaries) is
26
             // All of React Native (JS, Obj-C sources, Android binaries) is
23
             // installed from npm.
27
             // installed from npm.

+ 1
- 1
android/sdk/build.gradle Dosyayı Görüntüle

22
 dependencies {
22
 dependencies {
23
     compile fileTree(dir: 'libs', include: ['*.jar'])
23
     compile fileTree(dir: 'libs', include: ['*.jar'])
24
 
24
 
25
-    compile 'com.android.support:appcompat-v7:23.0.1'
25
+    compile 'com.android.support:appcompat-v7:25.4.0'
26
     compile 'com.facebook.react:react-native:+'
26
     compile 'com.facebook.react:react-native:+'
27
 
27
 
28
     compile project(':react-native-background-timer')
28
     compile project(':react-native-background-timer')

Loading…
İptal
Kaydet