Hello, I get the build file error below:
UEDeployAndroid.MakeApk:
====31-10-2017 09:51:22====PERFORMING FINAL APK PACKAGE
OPERATION================================================ UEDeployAndroid.CreateRunGradle:
UEDeployAndroid.CreateRunGradle:
Creating rungradle.bat to work around
commandline length limit (using unused
drive letter Z:)
UEDeployAndroid.RunCommandLineProgramWithException:
Making .apk with Gradle…
ExceptionUtils.PrintExceptionInfo:
============================================================================== ExceptionUtils.PrintExceptionInfo:
ERROR: cmd.exe failed with args /c
“D:\Stage -
kornelis\ARcore\HelloARSample
4.18\Intermediate/Android/APK\gradle\rungradle.bat”
:app:assembleDebug
ExceptionUtils.PrintExceptionInfo:
(see
C:\Users\coolb\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt
for full exception trace)
ExceptionUtils.PrintExceptionInfo:
ExceptionUtils.PrintExceptionInfo:
BuildException: cmd.exe failed with
args /c “D:\Stage -
kornelis\ARcore\HelloARSample
4.18\Intermediate/Android/APK\gradle\rungradle.bat”
:app:assembleDebug
ExceptionUtils.PrintExceptionInfo:
bij
UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithException(String
WorkingDirectory, String Command,
String Params, String OverrideDesc,
Boolean bUseShellExecute)
ExceptionUtils.PrintExceptionInfo:
bij
UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain
ToolChain, String ProjectName, String
ProjectDirectory, String OutputPath,
String EngineDirectory, Boolean
bForDistribution, String CookFlavor,
Boolean bMakeSeparateApks, Boolean
bIncrementalPackage, Boolean
bDisallowPackagingDataInApk, Boolean
bDisallowExternalFilesDir)
ExceptionUtils.PrintExceptionInfo:
bij
UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference
ProjectFile, String ProjectName,
DirectoryReference ProjectDirectory,
String ExecutablePath, String
EngineDirectory, Boolean
bForDistribution, String CookFlavor,
Boolean bIsDataDeploy)
ExceptionUtils.PrintExceptionInfo:
bij
AndroidPlatform.Package(ProjectParams
Params, DeploymentContext SC, Int32
WorkingCL)
ExceptionUtils.PrintExceptionInfo:
bij Project.Package(ProjectParams
Params, Int32 WorkingCL)
ExceptionUtils.PrintExceptionInfo:
bij
BuildCookRun.DoBuildCookRun(ProjectParams
Params)
ExceptionUtils.PrintExceptionInfo:
bij BuildCookRun.ExecuteBuild()
ExceptionUtils.PrintExceptionInfo:
bij
AutomationTool.BuildCommand.Execute()
ExceptionUtils.PrintExceptionInfo:
bij
AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary
2
Commands)
ExceptionUtils.PrintExceptionInfo:
bij
AutomationTool.Automation.Process(String
Arguments)
ExceptionUtils.PrintExceptionInfo:
bij
AutomationTool.Program.MainProc(Object
Param)
ExceptionUtils.PrintExceptionInfo:
bij
AutomationTool.InternalUtils.RunSingleInstance(Func`2
Main, Object Param)
ExceptionUtils.PrintExceptionInfo:
bij AutomationTool.Program.Main()
ExceptionUtils.PrintExceptionInfo:
============================================================================== Program.Main: AutomationTool exiting
with ExitCode=1 (Error_Unknown)
I hope that someone can tell me what goes wrong and how to fix it?