# /android-ndk-r12b/ndk-build.cmd failed with args APP\_ABI="armeabi-v7a " NDK\_DEBUG=1

**URL:** <https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081>\
**Category:** Platform & Builds\
**Tags:** app, debug, ndk, unreal-engine, failed, question\
**Created:** [December 12, 2017, 4:35pm UTC](https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081 "2017-12-12T16:35:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuadpumarejo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fuadpumarejo](https://forums.unrealengine.com/u/fuadpumarejo)\
**Post date:** [December 12, 2017, 4:35pm UTC](https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081/1 "2017-12-12T16:35:32Z")

</div>

![223549-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/e/71ebde3810f4f5758c699613c058153f9d51ed2c.png)

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…

---

<div class="post-metadata">

**Author:** ![The\_Dark\_Light](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Dark\_Light](https://forums.unrealengine.com/u/The_Dark_Light)\
**Post date:** [December 26, 2017, 9:45am UTC](https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081/2 "2017-12-26T09:45:31Z")

</div>

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]

 ![225097-ue4-fix.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/8/168ed39cb13c33e740201782672c8f586c731f29.png)

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

 ![225098-ue4-fix-gradle.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/8/09886100bff8fcb9ff86cc26ef643009073377a0.png)

Hope this helps 🙂

---

<div class="post-metadata">

**Author:** ![dawnarc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dawnarc](https://forums.unrealengine.com/u/dawnarc)\
**Post date:** [January 2, 2018, 1:53pm UTC](https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081/3 "2018-01-02T13:53:45Z")

</div>

I resolved it by rebooting PC.

---

<div class="post-metadata">

**Author:** ![Jeffshen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeffshen](https://forums.unrealengine.com/u/Jeffshen)\
**Post date:** [November 28, 2020, 10:04am UTC](https://forums.unrealengine.com/t/android-ndk-r12b-ndk-build-cmd-failed-with-args-app_abi-armeabi-v7a-ndk_debug-1/412081/4 "2020-11-28T10:04:11Z")

</div>

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”;
