@@ -22,10 +22,10 @@ Extract both the NDK and SDK to a suitable directory, e.g. `~/android/toolchain`
2222mkdir -p ~ /android/toolchain/android-sdk-linux
2323cd ~ /android/toolchain
2424
25- wget https://dl.google.com/android/repository/android-ndk-r17 -linux-x86_64.zip
25+ wget https://dl.google.com/android/repository/android-ndk-r15 -linux-x86_64.zip
2626wget https://dl.google.com/android/repository/tools_r25.2.3-linux.zip
2727
28- unzip android-ndk-r17 -linux-x86_64.zip
28+ unzip android-ndk-r15 -linux-x86_64.zip
2929
3030pushd android-sdk-linux
3131unzip tools_r25.2.3-linux.zip
@@ -41,15 +41,15 @@ Update the SDK:
4141Create a standalone toolchain (this simplifies setting up the build environment):
4242
4343```` bash
44- android-ndk-r17 /build/tools/make_standalone_toolchain.py \
44+ android-ndk-r15 /build/tools/make_standalone_toolchain.py \
4545 --arch arm --api 26 \
4646 --install-dir ${HOME} /android/toolchain/standalone
4747````
4848
4949Add a couple of symlinks to allow the engine configuration script to find the Android toolchain:
5050
5151```` bash
52- ln -s android-ndk-r17 android-ndk
52+ ln -s android-ndk-r15 android-ndk
5353ln -s android-sdk-linux android-sdk
5454````
5555
@@ -80,9 +80,9 @@ LINK="${BINDIR}/${TRIPLE}-clang ${COMMON_FLAGS} -fuse-ld=bfd"
8080AR=" ${BINDIR} /${TRIPLE} -ar"
8181
8282# Android platform information
83- ANDROID_NDK_VERSION=r17
83+ ANDROID_NDK_VERSION=r15
8484ANDROID_PLATFORM=android-26
85- ANDROID_NDK=${TOOLCHAIN} /android-ndk-r17
85+ ANDROID_NDK=${TOOLCHAIN} /android-ndk-r15
8686ANDROID_SDK=${TOOLCHAIN} /android-sdk-linux
8787ANDROID_BUILD_TOOLS=27.0.3
8888ANDROID_LIB_PATH=${TOOLCHAIN} /standalone/${TRIPLE} /lib
0 commit comments