Commit b872e7d9 authored by Luca Boccassi's avatar Luca Boccassi

Problem: Android CI NDK version out of date

Solution: update CI scripts to use newer r11c from r10e
parent 8be56891
......@@ -75,12 +75,12 @@ function android_build_env {
if [ -z "$ANDROID_NDK_ROOT" ]; then
ANDROID_BUILD_FAIL+=("Please set the ANDROID_NDK_ROOT environment variable")
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r9d\")")
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r11c\")")
fi
if [ -z "$TOOLCHAIN_PATH" ]; then
ANDROID_BUILD_FAIL+=("Please set the TOOLCHAIN_PATH environment variable")
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin\")")
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r11c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin\")")
fi
if [ -z "$TOOLCHAIN_NAME" ]; then
......
#!/usr/bin/env bash
NDK_VER=android-ndk-r10e
NDK_VER=android-ndk-r11c
NDK_ABI_VER=4.9
if [ $TRAVIS_OS_NAME == "linux" ]
......@@ -14,12 +14,11 @@ else
exit 1
fi
export FILENAME=$NDK_VER-$NDK_PLATFORM.bin
export FILENAME=$NDK_VER-$NDK_PLATFORM.zip
(cd '/tmp' \
&& wget http://dl.google.com/android/ndk/$FILENAME \
&& chmod a+x $FILENAME \
&& ./$FILENAME &> /dev/null ) || exit 1
&& wget http://dl.google.com/android/repository/$FILENAME \
&& unzip $FILENAME &> /dev/null ) || exit 1
unset FILENAME
export ANDROID_NDK_ROOT="/tmp/$NDK_VER"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment