[Android] Use an appropriate Android support library version

It must match the compileSdkVersion major number.
This commit is contained in:
Saúl Ibarra Corretgé 2017-08-03 17:40:08 +02:00 committed by Lyubo Marinov
parent 0836f2cefd
commit 0d33844d51
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -22,7 +22,7 @@ android {
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) 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 'com.facebook.react:react-native:+'
compile project(':react-native-background-timer') compile project(':react-native-background-timer')