From fda7645b255f7cbe432f540790179eb5890efa87 Mon Sep 17 00:00:00 2001 From: Vlad Vityaz Date: Fri, 19 Oct 2018 16:10:11 +0300 Subject: [PATCH] Fixed compability with newest Android API 26+ Its needed to use higher target and compile sdks with tools version 26+ to be compatible with its Android Studio env. which uses newer gradle wrapper versions and Gradle tools as well. --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 11b91cc..639d075 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,12 +11,12 @@ buildscript { apply plugin: 'com.android.library' android { - compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 25 - buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '25.0.3' + compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 26 + buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '26.0.3' defaultConfig { minSdkVersion 16 - targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 22 + targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 26 versionCode 1 versionName "1.0" } -- 2.26.2