Browse Source

travis: update android sdk level

pull/2/head
Alibek Omarov 4 years ago
parent
commit
f2120672d0
  1. 2
      scripts/travis_android_deps.sh

2
scripts/travis_android_deps.sh

@ -16,7 +16,7 @@ NDK_BUNDLE="ndk-bundle"
if [ "$1" = "r10e" ]; then if [ "$1" = "r10e" ]; then
NDK_BUNDLE="" NDK_BUNDLE=""
fi fi
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-26 $NDK_BUNDLE > /dev/null 2>/dev/null sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-29 $NDK_BUNDLE > /dev/null 2>/dev/null
if [ "$1" = "r10e" ]; then if [ "$1" = "r10e" ]; then
(wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip /dev/null 2>/dev/null | busybox unzip -x -) || exit 1 (wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip /dev/null 2>/dev/null | busybox unzip -x -) || exit 1
mv android-ndk-r10e sdk/ndk-bundle mv android-ndk-r10e sdk/ndk-bundle

Loading…
Cancel
Save