Closed githejie closed 3 months ago
I think I modified this variable initialization, to allow NDK configuration, as per development need. Temporarily, this (or something similar) should help :
export NDK_VERSION=android-ndk-r25c
export ANDROID_NDK_ROOT=<my_prefered_ndk_root>
./ci_build.sh
Given NDK will/should be downloaded automatically during the build, if not already available. At least, this was the goal...
I add @benjdero, as he might have some other fix pending for another issue with NDK 25.
Hi @stephan57160, thanks for your comment.
I previously specified the NDK version in ci_build.sh
because I thought ci_build.sh
was specifically for GitHub action, and users would use build.sh
for local builds.
After considering your comment, I think it is more reasonable to use environment variables in CI.yaml
to specify the NDK version.
I previously specified the NDK version in
ci_build.sh
because I thoughtci_build.sh
was specifically for GitHub action, and users would usebuild.sh
for local builds.
It was like this previously, yes. But it was a nightmare to have ZYRE, CZMQ and LIBZMQ in sync regarding NDK versions.
This seems to be the right solution 👍
Solution: Fixed the NDK version to android-ndk-r25 to avoid using unsupported NDK version on ubuntu-latest.
Fixes #4725