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)
Unreal Engine uses specifically NVIDIA CodeWorks (Version 1R7u1) for Android SDK and NDK.
You could try installing the newer CodeWorks version from Nvidia instead of googles version. Could these two different SDKs have slight differences that matter?
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
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.