# Android NDK r18b breaks Unreal 4.23

**URL:** <https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052>\
**Category:** Mobile\
**Tags:** Android-Packaging, ndk, unreal-engine, question\
**Created:** [September 9, 2019, 4:03am UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052 "2019-09-09T04:03:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5fd97cf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5fd97cf](https://forums.unrealengine.com/u/anonymous_user_e5fd97cf)\
**Post date:** [September 9, 2019, 4:03am UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/1 "2019-09-09T04:03:59Z")

</div>

I’m trying to Android NDK 18b for Unreal’s 4.23’s included First Person Shooter sample program…

- I installed the Android NDK r18b from this URL at Google and copied it to c:\nvpack:  
[https://dl.google.com/android/repository/android-ndk-r18b-windows-x86\_64.zip](https://dl.google.com/android/repository/android-ndk-r18b-windows-x86_64.zip)
- I configured the project to use the NDK and SDK and target Android API Level 21 (see screenshot below).
- Whenever I build however, I get this error about NDK r18c … even though I have NDK r18b installed…
- Does anyone know how to get r18b to work with Unreal? I need functionality only available in NDK r18b and eventually, need Android API level 28 from it as well.
- Thanks!

.

```
UATHelper: Packaging (Android (ETC2)): **********STAGE COMMAND COMPLETED**********
UATHelper: Packaging (Android (ETC2)): **********PACKAGE COMMAND STARTED**********
UATHelper: Packaging (Android (ETC2)): ERROR: Android toolchain NDK r18c not supported; please use NDK r14b to NDK r18b (NDK r14b recommended)

```

![286776-android-ndk-18b.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/0/150afd18cbcc8975a16c07de451d5cb2ff550de1.png)

---

<div class="post-metadata">

**Author:** ![mercury804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mercury804](https://forums.unrealengine.com/u/mercury804)\
**Post date:** [September 11, 2019, 11:19pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/2 "2019-09-11T23:19:31Z")

</div>

Have you found the solution yet ? I am stuck with the same problem. I need api 28 to upload to Play Store

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3c88bdb51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3c88bdb51](https://forums.unrealengine.com/u/anonymous_user_3c88bdb51)\
**Post date:** [September 12, 2019, 2:03pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/3 "2019-09-12T14:03:04Z")

</div>

Have you found the solution yet ? i have the same problem

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1f4fad0b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1f4fad0b](https://forums.unrealengine.com/u/anonymous_user_1f4fad0b)\
**Post date:** [September 12, 2019, 8:57pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/4 "2019-09-12T20:57:09Z")

</div>

I have the same issue.  
For now, no clue.

---

<div class="post-metadata">

**Author:** ![Analysierer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Analysierer](https://forums.unrealengine.com/u/Analysierer)\
**Post date:** [September 12, 2019, 10:41pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/5 "2019-09-12T22:41:40Z")

</div>

Same Problem here ☹

---

<div class="post-metadata">

**Author:** ![Kiviviki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kiviviki](https://forums.unrealengine.com/u/Kiviviki)\
**Post date:** [September 15, 2019, 9:52pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/6 "2019-09-15T21:52:51Z")

</div>

Having the exact same thing… What’s going on?

---

<div class="post-metadata">

**Author:** ![Cassoka](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cassoka/32/464628_2.png) [@Cassoka](https://forums.unrealengine.com/u/Cassoka)\
**Post date:** [September 24, 2019, 5:06pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/7 "2019-09-24T17:06:27Z")

</div>

Any update on this? I’m facing the same issue

---

<div class="post-metadata">

**Author:** ![CosmicLobster](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cosmiclobster/32/1211357_2.png) [@CosmicLobster](https://forums.unrealengine.com/u/CosmicLobster)\
**Post date:** [September 24, 2019, 5:45pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/8 "2019-09-24T17:45:41Z")

</div>

Unreal Engine uses specifically NVIDIA CodeWorks (Version 1R7u1) for Android SDK and NDK.

> **[Installing CodeWorks for Android](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/InstallingAndroidCodeWorksAndroid/)**
>
> A walkthrough of the installation process of CodeWorks for Android

You could try installing the newer CodeWorks version from Nvidia instead of googles version. Could these two different SDKs have slight differences that matter?

Current Nvidia CodeWorks 1R8 uses NDK r18b and API 28.  
Download from Nvidia: [Download Center | NVIDIA Developer](https://developer.nvidia.com/gameworksdownload#?dn=codeworks-for-android-1r8)

Thou it is recommended to stick with CodeWorks 1R7u1, in your case maybe worth a shot,  
good luck!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_95bce37c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_95bce37c](https://forums.unrealengine.com/u/anonymous_user_95bce37c)\
**Post date:** [October 20, 2019, 6:35pm UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/9 "2019-10-20T18:35:58Z")

</div>

I’ve configure UE to use the CodeWorks-bundled Android SDK/NDK and same result:  
[2019.10.20-10.34.19:626][366]LogPlayLevel: Error: ERROR: Android toolchain NDK r18c not supported; please use NDK r14b to NDK r18b (NDK r14b recommended)

also tried building master instead of 4.23 to no avail

---

<div class="post-metadata">

**Author:** ![Cassoka](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cassoka/32/464628_2.png) [@Cassoka](https://forums.unrealengine.com/u/Cassoka)\
**Post date:** [October 23, 2019, 9:50am UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/10 "2019-10-23T09:50:05Z")

</div>

I did my best to fix this matter and couldn’t find a solution. Something somewhere is bugged, and the only way I found to get it working was to uninstall CodeWorks 1R8 and install 1R7.

This is my configuration now, I’m using ndk r15c, which is the one that came with 1R7 I hope this helps anyone looking for a solution.

 ![290878-1r7.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/b/b5b154713ffdf07001a3086a10f1c319c90b0125.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a2fb347](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a2fb347](https://forums.unrealengine.com/u/anonymous_user_6a2fb347)\
**Post date:** [July 10, 2020, 3:49am UTC](https://forums.unrealengine.com/t/android-ndk-r18b-breaks-unreal-4-23/455052/11 "2020-07-10T03:49:56Z")

</div>

download and instal sdk and ndk and jdk in this video :
