Boost-for-Android icon indicating copy to clipboard operation
Boost-for-Android copied to clipboard

"Undefined or not supported Android NDK version: 23.2" on GitHub Actions

Open johnwason opened this issue 3 years ago • 2 comments

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

johnwason avatar Jun 11 '22 01:06 johnwason

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 avatar Jul 15 '22 03:07 leoqchen

@leoqchen you could create a PR if you like, it seams it's just adding "23.2"

moritz-wundke avatar Sep 01 '22 07:09 moritz-wundke