ERROR: ndk-build failed [NDK_DEBUG=1]

Hi,

I was following the tutorial on cooking and deploying a sample project for Android. Everything worked nice first, but the next day I launched UE and tried to build the same project with the same settings and it failed leaving this log:


[2014.07.23-01.55.43:949] 58]LogPlayLevel:Display: It seems that there are sub-projects. If you want to update them
[2014.07.23-01.56.02:099][113]LogPlayLevel:Display: please use the --subprojects parameter.
[2014.07.23-01.56.13:416][678]LogPlayLevel:Display: Running: C:\NVPACK\android-ndk-r9c/ndk-build.cmd NDK_DEBUG=1
[2014.07.23-01.56.13:416][678]LogPlayLevel:Display: BuildCommand.Execute: ERROR: BUILD FAILED
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display: Program.Main: ERROR: AutomationTool terminated with exception:
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display: Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: ndk-build failed [NDK_DEBUG=1]
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display: Stacktrace:    bei UnrealBuildTool.Android.UEDeployAndroid.MakeAPK(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor)
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display:    bei UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor)
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display:    bei AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display:    bei Project.Deploy(ProjectParams Params)
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display:    bei BuildCookRun.DoBuildCookRun(ProjectParams Params)
[2014.07.23-01.56.13:440][679]LogPlayLevel:Display:    bei BuildCommand.Execute()
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display:    bei AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display:    bei AutomationTool.Automation.Process(String] CommandLine)
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display:    bei AutomationTool.Program.MainProc(Object Param)
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display:    bei AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display:    bei AutomationTool.Program.Main()
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display: Program.Main: ERROR: ERROR: ndk-build failed [NDK_DEBUG=1]
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display: ProcessManager.KillAll: Trying to kill 0 spawned processes.
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display: Program.Main: AutomationTool exiting with ExitCode=1
[2014.07.23-01.56.13:441][679]LogPlayLevel:Display: Domain_ProcessExit
[2014.07.23-01.56.13:469][680]LogPlayLevel:Display: ProcessManager.KillAll: Trying to kill 0 spawned processes.
[2014.07.23-01.56.13:469][680]LogPlayLevel:Display: copying UAT log files...
[2014.07.23-01.56.13:469][680]LogPlayLevel:Display: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
[2014.07.23-01.56.13:490][681]LogPlayLevel:Display: BUILD FAILED

Installed TADP, running UE 4.3.

Any idea why this is happening?

Hi SONB,

Please post this to the answerhub at http://answers.unrealengine.com so we can track this potential bug. Thank you!

Done: https://answers.unrealengine.com/questions/73675/error-ndk-build-failed-ndk-debug1.html
Thanks!

I am getting the same error. (posted it in answers)
I noticed this in your log and mine:

C:NVPACKandroid-ndk-r9c/ndk-build.cmd
C:\Program Files\Android NDK\android-ndk-r10b/ndk-build.cmd

Notice the slashes and backslashes. Could this be related?

any updates in this, I can not deploy o a mobile device is frustrating :frowning: