From 32f071c2ad950f456e4b689872b41f4890a36dcb Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 11 Oct 2017 08:08:52 -0700 Subject: [PATCH] Fix NDK download Summary: Fix NDK download for Travis. Reviewed By: emilsjolander Differential Revision: D6020352 fbshipit-source-id: c7523c0afb18d675fc2443e133d5ab63109fec7b --- scripts/android-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/android-setup.sh b/scripts/android-setup.sh index 71c2e923..d84ec9e1 100644 --- a/scripts/android-setup.sh +++ b/scripts/android-setup.sh @@ -32,10 +32,10 @@ function installAndroidSDK { rm $TMP fi - if [[ ! -d "$ANDROID_NDK_REPOSITORY/android-ndk-r13b" ]]; then + if [[ ! -d "$ANDROID_NDK_REPOSITORY/android-ndk-r15c" ]]; then TMP=/tmp/ndk$$.zip mkdir -p "$ANDROID_NDK_REPOSITORY" - download 'https://dl.google.com/android/repository/android-ndk-r13b-darwin-x86_64.zip' $TMP + download 'https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip' $TMP unzip -qod "$ANDROID_NDK_REPOSITORY" "$TMP" rm $TMP fi