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
EDIT: Here is the full log.
Installed TADP, running UE 4.3.
Any idea why this is happening?
UPDATE: Removing the contents of the “Intermediate” folder fixes the bug. Can’t reproduce the error yet.