[Android] Use an appropriate Android support library version

It must match the compileSdkVersion major number.
pull/1860/merge
Saúl Ibarra Corretgé 7 years ago committed by Lyubo Marinov
parent 0836f2cefd
commit 0d33844d51
  1. 4
      android/build.gradle
  2. 2
      android/sdk/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.

@ -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')

Loading…
Cancel
Save