# Android Toolchain Error

**URL:** <https://forums.unrealengine.com/t/android-toolchain-error/132616>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [October 25, 2019, 10:45pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616 "2019-10-25T22:45:23Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Firezown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Firezown](https://forums.unrealengine.com/u/Firezown)\
**Post date:** [October 25, 2019, 10:45pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/1 "2019-10-25T22:45:23Z")

</div>

Ive seen questions about this error all over and just now found a fix. When trying to launch my project on any device i get this error LogPlayLevel: Error: ERROR: Android toolchain NDK r12c not supported; please use NDK r14b to NDK r18b (NDK r14b recommended). I went to the NDK Archives and got installed the other versions of NDK for some reason r18b didn’t work the engine reconized it as r18c the only one that seems to be working is r17c. Is this a bug with the engine or have i just not been updating things good enough.

---

<div class="post-metadata">

**Author:** ![GiddyRaccoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GiddyRaccoon](https://forums.unrealengine.com/u/GiddyRaccoon)\
**Post date:** [November 28, 2019, 5:57pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/2 "2019-11-28T17:57:48Z")

</div>

Same here, having same issue, was working before. reinstalled r18b and it still thinks it is r18c

---

<div class="post-metadata">

**Author:** ![CtnDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ctndev/32/1133321_2.png) [@CtnDev](https://forums.unrealengine.com/u/CtnDev)\
**Post date:** [December 29, 2019, 12:52pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/3 "2019-12-29T12:52:26Z")

</div>

No updates here?

---

<div class="post-metadata">

**Author:** ![solarisx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solarisx](https://forums.unrealengine.com/u/solarisx)\
**Post date:** [January 11, 2020, 4:28pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/4 "2020-01-11T16:28:08Z")

</div>

Same problem with UE 4.24.1. ndk r18b is recognized as r18c.

---

<div class="post-metadata">

**Author:** ![labeatmatoshi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@labeatmatoshi](https://forums.unrealengine.com/u/labeatmatoshi)\
**Post date:** [January 12, 2020, 1:00am UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/5 "2020-01-12T01:00:30Z")

</div>

This One worked for me , i choosed [android-ndk-r14b-windows-x86\_64.zip](https://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip)

[https://developer.android.com/ndk/downloads/older\_releases.html#ndk-14b-downloads](https://developer.android.com/ndk/downloads/older_releases.html#ndk-14b-downloads)

---

<div class="post-metadata">

**Author:** ![Caltelus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Caltelus](https://forums.unrealengine.com/u/Caltelus)\
**Post date:** [January 13, 2020, 4:47pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/6 "2020-01-13T16:47:55Z")

</div>

i think, nobody can help us :s

---

<div class="post-metadata">

**Author:** ![CILabs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CILabs](https://forums.unrealengine.com/u/CILabs)\
**Post date:** [January 17, 2020, 10:54pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/7 "2020-01-17T22:54:44Z")

</div>

I downloaded this version of the NDK and it worked for me after I updated to release (1R8) and I’m on 2.3  
[android-ndk-r16b-windows-x86\_64.zip](https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip)

---

<div class="post-metadata">

**Author:** ![AvvaG](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/avvag/32/482240_2.png) [@AvvaG](https://forums.unrealengine.com/u/AvvaG)\
**Post date:** [February 9, 2020, 6:42pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/8 "2020-02-09T18:42:42Z")

</div>

same problem

---

<div class="post-metadata">

**Author:** ![diskerdisker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@diskerdisker](https://forums.unrealengine.com/u/diskerdisker)\
**Post date:** [February 19, 2020, 6:53am UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/11 "2020-02-19T06:53:17Z")

</div>

i have get solution and complete!

1. Download and Unzip r14b version(it is recommend version)
2. Edit \> Project settings… \> Platforms \> Android SDK \> Location of Android NDK \> {your unzip directory)

happy nice day!

---

<div class="post-metadata">

**Author:** ![Dirk\_Teucher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dirk_teucher/32/488533_2.png) [@Dirk\_Teucher](https://forums.unrealengine.com/u/Dirk_Teucher)\
**Post date:** [June 8, 2020, 9:59pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/12 "2020-06-08T21:59:04Z")

</div>

Same problem here … unreal advise this " **please use NDK r21 to NDK r23 (NDK r21b recommended)**"

---

<div class="post-metadata">

**Author:** ![Dirk\_Teucher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dirk_teucher/32/488533_2.png) [@Dirk\_Teucher](https://forums.unrealengine.com/u/Dirk_Teucher)\
**Post date:** [June 8, 2020, 10:22pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/13 "2020-06-08T22:22:25Z")

</div>

Found the solution in 4.25 . Just got to project settings and Platforms - Android SDK and use a new NDK [https://www.unrealengine.com/en-US/t…al-engine-4-25](https://www.unrealengine.com/en-US/tech-blog/updates-to-required-setup-for-android-ndk-21-in-unreal-engine-4-25) download from here [NDK Downloads &nbsp;|&nbsp; Android NDK &nbsp;|&nbsp; Android Developers](https://developer.android.com/ndk/downloads)

---

<div class="post-metadata">

**Author:** ![Doark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Doark](https://forums.unrealengine.com/u/Doark)\
**Post date:** [June 11, 2020, 4:17am UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/14 "2020-06-11T04:17:28Z")

</div>

> [@Dirk\_Teucher](#):
>
> Found the solution in 4.25 . Just got to project settings and Platforms - Android SDK and use a new NDK [https://www.unrealengine.com/en-US/t…al-engine-4-25](https://www.unrealengine.com/en-US/tech-blog/updates-to-required-setup-for-android-ndk-21-in-unreal-engine-4-25) download from here [Download NDK &nbsp;|&nbsp; Android NDK &nbsp;|&nbsp; Android Developers](https://developer.android.com/ndk/downloads)

Holy smokes!! Thank you very much friend \*\*[bluemagic-UK 😉](https://forums.unrealengine.com/member/3389817-bluemagic-uk) \*\*I followed what you explained and [worked like a charm 😃](https://forums.unrealengine.com/member/3389817-bluemagic-uk)

[I took the opportunity and extracted the folder in the same location that AndroidStudio created the files:](https://forums.unrealengine.com/member/3389817-bluemagic-uk)

 ![Unreal-Android-NDK-Setup.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f3c73c519f51771c921d02a3a5a1f5e58d81fc07.jpeg)**]([https://forums.unrealengine.com/member/3389817-bluemagic-uk](https://forums.unrealengine.com/member/3389817-bluemagic-uk))**

---

<div class="post-metadata">

**Author:** ![Jeremy-GG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy-GG](https://forums.unrealengine.com/u/Jeremy-GG)\
**Post date:** [June 19, 2020, 10:05pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/15 "2020-06-19T22:05:09Z")

</div>

> [@Dirk\_Teucher](#):
>
> Found the solution in 4.25 . Just got to project settings and Platforms - Android SDK and use a new NDK [https://www.unrealengine.com/en-US/t…al-engine-4-25](https://www.unrealengine.com/en-US/tech-blog/updates-to-required-setup-for-android-ndk-21-in-unreal-engine-4-25) download from here [Download NDK &nbsp;|&nbsp; Android NDK &nbsp;|&nbsp; Android Developers](https://developer.android.com/ndk/downloads)

Thank you kind sir ! You save my mobile project from being stuck to 4.24 !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_249435ac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_249435ac1](https://forums.unrealengine.com/u/anonymous_user_249435ac1)\
**Post date:** [September 24, 2020, 2:44pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/16 "2020-09-24T14:44:41Z")

</div>

Just starting developing and I appreciate this! Thank you **[bluemagic-UK.](https://forums.unrealengine.com/member/3389817-bluemagic-uk)**

---

<div class="post-metadata">

**Author:** ![emperor\_katax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emperor_katax/32/1070178_2.png) [@emperor\_katax](https://forums.unrealengine.com/u/emperor_katax)\
**Post date:** [December 4, 2020, 4:03pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/17 "2020-12-04T16:03:30Z")

</div>

\*\*[bluemagic-UK](https://forums.unrealengine.com/member/3389817-bluemagic-uk) you are a legend … : ) , \*\*

---

<div class="post-metadata">

**Author:** ![Ibrahim.Yasir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ibrahim.Yasir](https://forums.unrealengine.com/u/Ibrahim.Yasir)\
**Post date:** [April 12, 2022, 9:03am UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/18 "2022-04-12T09:03:16Z")

</div>

They have updated the docs now and they follow almost the same instructions as the one Blackmagic suggested.

> **[Setting Up Android SDK and NDK](https://docs.unrealengine.com/5.0/en-US/how-to-set-up-android-sdk-and-ndk-for-your-unreal-engine-development-environment/)**
>
> How to set up your Android development environment for Unreal Engine

---

<div class="post-metadata">

**Author:** ![markness4201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@markness4201](https://forums.unrealengine.com/u/markness4201)\
**Post date:** [February 15, 2023, 5:30am UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/19 "2023-02-15T05:30:08Z")

</div>

If you’ve previously been able to build for Android and find yourself back here… For me this solved the issue:

1. I got the Android SDK location from Android Studio, browsed there to see what versions I had installed. Notably, I had …sdk/ndk/21.4.7075529 installed. The output log in Unreal told me “use NDK r21 to NDK r23” so this one seemed right.
2. I copied the location of the above directory and pasted into the “Location of the Android NDK” in Project Settings → Android SDK.
3. In the same settings, I set the NDK API level to “android-21”, used “matchndk” for the SDK.

Then I was able to build for Android again. (You likely will have to accept the SDK license under Project Settings → Android)

---

<div class="post-metadata">

**Author:** ![vladik6704](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vladik6704](https://forums.unrealengine.com/u/vladik6704)\
**Post date:** [September 10, 2023, 7:15pm UTC](https://forums.unrealengine.com/t/android-toolchain-error/132616/20 "2023-09-10T19:15:46Z")

</div>

I had this: UATHelper: Packaging (Android (ASTC)): ERROR: Android toolchain NDK r25b not supported; please use NDK r21 to NDK r23 (NDK r21b recommended)

Solution: run UnrealEngine\Engine\Extras\Android\SetupAndroid.bat
