/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1

Hello… im trying to solve this, when i look for solutions in internet, i find a lot that doesnt solve my problem… im trying to use the project in android phone… but appears "/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI=“armeabi-v7a " NDK_DEBUG=1” when is getting on… i want to know how to solve this failure… thank you so much…

hey guys, I had the same problem when I 'am trying to deploy my game on my tablet android 5.1 (API 22) so this is what I did :

  • Project Settings > Android >
  • check Support arm64 [aka arm64-v8a]

just that and then I had the Gradle problem I just unchecked the “Enable Gradle Instead of Ant”

Hope this helps :slight_smile:

I resolved it by rebooting PC.

There is a Bug at UEDeployAndroid.cs cause this problem(UE4.24).
=>3060
String FinalSOName;
if (HasNDKPath)
{
string LibDir = UE4BuildPath + “/jni/” + NDKArch;
FinalSOName = LibDir + “/libUE4.so”;

=>3094
if (HasNDKPath)
{
string LibSOName = UE4BuildPath + “/libs/” + NDKArch + “/libUE4.so”;

Fix 3060
String FinalSOName;
if (HasNDKPath)
{
string LibDir = UE4BuildPath + “/libs/” + NDKArch;
FinalSOName = LibDir + “/libUE4.so”;