Boost-for-Android
Boost-for-Android copied to clipboard
"Undefined or not supported Android NDK version: 23.2" on GitHub Actions
GitHub actions has update the Android NDK version to 23.2. With the following command:
./build-android.sh $ANDROID_NDK_HOME --arch=x86_64 --with-libraries=date_time,filesystem,system,regex,chrono,atomic,thread,random,program_options --boost=1.74.0
I am getting the error:
Building boost version: 1.74.0
Detected Android NDK version 23.2
Undefined or not supported Android NDK version: 23.2
I meet the same issue. A simple workaround is temporarily modify the build-android.sh
modify it from
"23.0"|"23.1")
TOOLCHAIN=${TOOLCHAIN:-llvm}
CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/clang++
TOOLSET=clang
CONFIG_VARIANT=ndk23
;;
to
"23.0"|"23.1"|"23.2")
TOOLCHAIN=${TOOLCHAIN:-llvm}
CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/clang++
TOOLSET=clang
CONFIG_VARIANT=ndk23
;;
@leoqchen you could create a PR if you like, it seams it's just adding "23.2"