0
\$\begingroup\$

Android Launch error My sdk settings:

enter image description here

enter image description here

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
\$\endgroup\$
  • \$\begingroup\$ Is there a way to have more a verbose error out put? \$\endgroup\$ – Sidar Aug 25 '17 at 8:40
0
\$\begingroup\$

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.

\$\endgroup\$
  • \$\begingroup\$ i clear all locations values from SDK config, but i still get this problem( \$\endgroup\$ – marvel Dec 14 '16 at 7:35
  • \$\begingroup\$ 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! \$\endgroup\$ – marvel Dec 14 '16 at 8:46
  • \$\begingroup\$ What I meant was to do a clean installation... in my experience I tried to avoid the clean install too but that didnt work. \$\endgroup\$ – Himanshu Chaudhary Dec 14 '16 at 9:15
0
\$\begingroup\$

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]

enter image description here

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

enter image description here

Hope this helps :)

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.