Give Travis latest build tools
This commit is contained in:
@@ -126,7 +126,7 @@ Install Android SDK:
|
||||
sudo apt-get install lib32stdc++6 lib32z1
|
||||
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
||||
tar -xzf ./android-sdk_r23.0.2-linux.tgz
|
||||
./android-sdk-linux/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.0,android-19,android-21,extra-android-m2repository,extra-google-m2repository
|
||||
./android-sdk-linux/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.1,android-21,extra-android-m2repository,extra-google-m2repository
|
||||
export ANDROID_HOME="/dir/to/android-sdk-linux"
|
||||
|
||||
Run:
|
||||
|
||||
@@ -6,7 +6,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.mapbox.mapboxgl.app"
|
||||
minSdkVersion 19
|
||||
minSdkVersion 18
|
||||
targetSdkVersion 21
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.mapbox.mapboxgl.lib"
|
||||
minSdkVersion 19
|
||||
minSdkVersion 18
|
||||
targetSdkVersion 21
|
||||
|
||||
ndk {
|
||||
|
||||
@@ -49,7 +49,7 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then
|
||||
echo "debug: installing SDK"
|
||||
#mapbox_time "installing SDK" \
|
||||
sudo apt-get -y install lib32stdc++6 lib32z1
|
||||
echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.0,android-19,android-21,extra-android-m2repository,extra-google-m2repository
|
||||
echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.1,android-21,extra-android-m2repository,extra-google-m2repository
|
||||
|
||||
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user