Hello,
I am having trouble launching or packaging my project to Android. I am running Windows 8.1 and UE 4.7.2 on an Asus N550JV with an NVIDIA® GeForce® GT 750M with 2GB/4GB DDR3 VRAM video card. I have seen others have had similar issues, however, I tried to launch the editor as an administrator as was suggested, but the problem still persists.
Error: d:/Program Files/Android/ndk/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
I have not used the nVidia TDAP, because I already had the Android SDK, JDK installed. I downloaded the latest NDK and Apache Ant. I am using a Nexus 7 (2013) Tablet with Lollipop installed.
Relevant log part:
====PREPARING NATIVE CODE================================================================= [2015.03.07-23.11.40:772][496]LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Preparing native code for debugging... [2015.03.07-23.11.40:817][499]LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED [2015.03.07-23.11.42:942][587]LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: [2015.03.07-23.11.42:942][587]LogPlayLevel: Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: d:/Program Files/Android/ndk/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1 [2015.03.07-23.11.42:942][587]LogPlayLevel: Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) [2015.03.07-23.11.42:942][587]LogPlayLevel: at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk) [2015.03.07-23.11.42:942][587]LogPlayLevel: at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy) [2015.03.07-23.11.42:942][587]LogPlayLevel: at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC) [2015.03.07-23.11.42:942][587]LogPlayLevel: at Project.Deploy(ProjectParams Params) [2015.03.07-23.11.42:943][587]LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) [2015.03.07-23.11.42:943][587]LogPlayLevel: at Build
Furthermore, in my experience the Editor is quite unstable. Each time I use the Android “Launch” option, if I choose “Show Ouput”, I only have a few seconds after the error before I can close the output window. Otherwise, the whole editor will freeze and needs to be closed by the task manager.
Moreover, It sometimes freezes while working with blueprints - e.g.: when trying to connect an array to a for each loop, deleting an asset etc(however, these events didn’t happen as often).
EDIT: Also tried to push the app to my One plus One. I get the same error.