From 0d33844d514c0edd5892cb32c352c7c321fc55f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 3 Aug 2017 17:40:08 +0200 Subject: [PATCH] [Android] Use an appropriate Android support library version It must match the compileSdkVersion major number. --- android/build.gradle | 4 ++++ android/sdk/build.gradle | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 6013459ac..562c1656d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,6 +18,10 @@ allprojects { repositories { mavenLocal() jcenter() + maven { + // Google's maven repository, required for AppCompat + url "https://maven.google.com" + } maven { // All of React Native (JS, Obj-C sources, Android binaries) is // installed from npm. diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle index 02b3efd82..a6457e27e 100644 --- a/android/sdk/build.gradle +++ b/android/sdk/build.gradle @@ -22,7 +22,7 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.0.1' + compile 'com.android.support:appcompat-v7:25.4.0' compile 'com.facebook.react:react-native:+' compile project(':react-native-background-timer')