Android package project Error

Program.Main: ERROR: Exception in System: 系统找不到指定的文件。
Stacktrace: 在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
在 UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
在 UnrealBuildTool.Android.UEDeployAndroid.UpdateProjectProperties(String UE4BuildPath, String ProjectName)
在 UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
在 UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
在 AndroidPlatform.Package(ProjectParams Params, DeploymentCon
text SC, Int32 WorkingCL)
在 Project.Package(ProjectParams Params, Int32 WorkingCL)
在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
在 BuildCommand.Execute()
在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
M在 AutomationTool.Automation.Process(String[] CommandLine)
在 AutomationTool.Program.MainProc(Object Param)
在 AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
在 AutomationTool.Program.Main()
ProcessManager.KillAll: Trying to kill 0 spawned processes.
Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
Domain_ProcessExit
copying UAT log files…
RunUAT.bat ERROR: AutomationTool was unable to run successfully.
BUILD FAILED
PackagingResults:Error: Error Unknown Error

It doesn’t seem like this is the full log. Can you provide more logging?

By the way, if you open a issue like this, would you put any effort to try to solve this?
Please provide some background information.

Hey Jarry_Chou,

As Amsanity has asked, could you please upload your output error logs as a .txt file? Are you working within the Binary (Epic Games Launcher) version of the engine, or through Source (Github)? Please also include whether or not you’ve attempted this only in 4.10 or if you’ve tried 4.11 as well.

Thanks!

Hey Jarry_Chou,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!