Browse Source

[Android] Use an appropriate Android support library version

It must match the compileSdkVersion major number.
j8
Saúl Ibarra Corretgé 8 years ago
parent
commit
0d33844d51
2 changed files with 5 additions and 1 deletions
  1. 4
    0
      android/build.gradle
  2. 1
    1
      android/sdk/build.gradle

+ 4
- 0
android/build.gradle View File

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

+ 1
- 1
android/sdk/build.gradle View File

@@ -22,7 +22,7 @@ android {
22 22
 dependencies {
23 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 26
     compile 'com.facebook.react:react-native:+'
27 27
 
28 28
     compile project(':react-native-background-timer')

Loading…
Cancel
Save