I also made a step that can handle both Linux and Mac: https://github.com/viktorbenei/bitrise-step-install-android-ndk-version
As it’s not shared in the StepLib (we probably will include this logic in another step and not have a separate one just for the NDK install) you can include it with the git::
reference style in your bitrise.yml
:
- git::https://github.com/viktorbenei/bitrise-step-install-android-ndk-version.git@master:
inputs:
- android_ndk_version: r12b
Once added to the bitrise.yml
you can use the UI to change the version, or just change the version in the YML (in this example above it’ll install r12b
).