Skip to content

Commit

Permalink
🐛 [Android] Fix default buildToolsVersion, add supportLibVersion (#86)
Browse files Browse the repository at this point in the history
* Fix default build tools version

* 🐛 Update default buildToolsVersion to 26.0.3

* ⬆️ Also upgrade default supportLibVersion
  • Loading branch information
jacque006 authored and cooperka committed Sep 4, 2018
1 parent 350ca58 commit 49ed261
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ apply plugin: "com.android.library"
def _ext = rootProject.ext
def _reactNativeVersion = _ext.has('reactNative') ? _ext.reactNative : '+'
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 26
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '26.1.0'
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '26.0.3'
def _supportLibVersion = _ext.has('supportLibVersion') ? _ext.supportLibVersion : '26.1.0'
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 26

Expand Down Expand Up @@ -41,7 +42,7 @@ repositories {
dependencies {
compile "com.facebook.react:react-native:${_reactNativeVersion}"

compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:appcompat-v7:${_supportLibVersion}'
compile 'com.android.support:support-v4:${_supportLibVersion}'
compile 'com.android.support:design:${_supportLibVersion}'
}

0 comments on commit 49ed261

Please sign in to comment.