From f2e7a680e468323a65da2c1ef3dd0010adf23fe6 Mon Sep 17 00:00:00 2001 From: crazycodeboy Date: Wed, 13 Jun 2018 11:23:11 +0800 Subject: [PATCH] Keep build.gradle and react-native build.gradle in line @https://github.com/facebook/react-native/blob/master/ReactAndroid/build.gradle --- android/build.gradle | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 06327c49..2e775f9f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 27 - buildToolsVersion "27.0.3" + compileSdkVersion 23 + buildToolsVersion "23.0.1" defaultConfig { minSdkVersion 16 - targetSdkVersion 23 + targetSdkVersion 22 versionCode 1 versionName "1.0" } @@ -19,8 +19,8 @@ android { } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - testImplementation 'junit:junit:4.12' - implementation 'com.android.support:appcompat-v7:27.0.2' - implementation "com.facebook.react:react-native:+" // From node_modules + compile fileTree(dir: 'libs', include: ['*.jar']) + testCompile 'junit:junit:4.12' + compile 'com.android.support:appcompat-v7:23.0.1' + compile "com.facebook.react:react-native:+" // From node_modules }