# Android Builds failing : No toolchains found in the NDK toolchains

**URL:** <https://discuss.bitrise.io/t/android-builds-failing-no-toolchains-found-in-the-ndk-toolchains/6474>\
**Category:** Builds\
**Tags:** android, android-ndk\
**Created:** [October 14, 2018, 8:47am UTC](https://discuss.bitrise.io/t/android-builds-failing-no-toolchains-found-in-the-ndk-toolchains/6474 "2018-10-14T08:47:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [October 14, 2018, 2:27pm UTC](https://discuss.bitrise.io/t/android-builds-failing-no-toolchains-found-in-the-ndk-toolchains/6474/6 "2018-10-14T14:27:02Z")

</div>

> [@abdul-hannan](#):
>
> How can I remove from configuration

The simplest option is to just upgrade Android Gradle plugin as @viktorbenei linked: [config update for NDK r18 by viktorbenei · Pull Request #5 · bitrise-io/sample-apps-android-sdk22 · GitHub](https://github.com/bitrise-samples/sample-apps-android-sdk22/pull/5/files#diff-c197962302397baf3a4cc36463dce5eaL8)  
You may also need to add `google()` repository to buildscript block if needed and upgrade Gradle wrapper if it is not compatible with desired AGP version: [Android Gradle plugin release notes &nbsp;|&nbsp; Android Studio &nbsp;|&nbsp; Android Developers](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle).

At the time of writing the current version is `3.2.1` but minimal supporting NDK r17+ is AFAIR `3.1.0`.

---

_[View the full topic](https://discuss.bitrise.io/t/android-builds-failing-no-toolchains-found-in-the-ndk-toolchains/6474)._
