# How to install a specific Android NDK version on the Android/Linux stack

**URL:** <https://discuss.bitrise.io/t/how-to-install-a-specific-android-ndk-version-on-the-android-linux-stack/4400>\
**Category:** Android\
**Tags:** android, android-ndk\
**Created:** [March 7, 2018, 1:17pm UTC](https://discuss.bitrise.io/t/how-to-install-a-specific-android-ndk-version-on-the-android-linux-stack/4400 "2018-03-07T13:17:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [November 23, 2018, 2:52pm UTC](https://discuss.bitrise.io/t/how-to-install-a-specific-android-ndk-version-on-the-android-linux-stack/4400/8 "2018-11-23T14:52:14Z")

</div>

I also made a step that can handle both Linux and Mac: [https://github.com/viktorbenei/bitrise-step-install-android-ndk-version](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`:

```auto
    - 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`).

---

_[View the full topic](https://discuss.bitrise.io/t/how-to-install-a-specific-android-ndk-version-on-the-android-linux-stack/4400)._
