# Unreal Engine 4 Android Building Error

Android Launch error My sdk settings:

LogPlayLevel: UnrealBuildTool: Preparing native code for debugging...
!LogPlayLevel: UnrealBuildTool: UnrealBuildTool Exception: ERROR: D:/Program Files/NDK/NVPACK/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="arm64-v8a " NDK_DEBUG=1
LogPlayLevel: CommandUtils.Run: Run: Took 36,7394016s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error

• Is there a way to have more a verbose error out put? – Sidar Aug 25 '17 at 8:40

Sometimes it depends on the sequence of the installation. In my case I have to install the NDK first and Unreal later.

The other thing you can do is to check your environment variables if the NDK variables are there or not. If present then clear all location values from SDK config and try to build again that should work.

• i clear all locations values from SDK config, but i still get this problem( – marvel Dec 14 '16 at 7:35
• i tried to move NVPACK to C disk, tried launch editor as administranor , change paths in windows Environment Variables, but then I get this error! – marvel Dec 14 '16 at 8:46
• What I meant was to do a clean installation... in my experience I tried to avoid the clean install too but that didnt work. – Himanshu Chaudhary Dec 14 '16 at 9:15

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]