Package the game with FOR DISTRIBUTION CHECKMARK and get a build failed

  1. I did the keystore

  2. i edit the SigningConfig.xml

I have still get the build failed.

why?

help

THIS IS MY REPORT

MainFrameActions: Packaging (Android (All)): UnrealBuildTool:
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: BUILD FAILED
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:653: The following error occurred while executing this line:
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:698: null returned: 1
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Total time: 6 seconds
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug
MainFrameActions: Packaging (Android (All)): CommandUtils.Run: Run: Took 31.4898011s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (All)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:5): C:\Program Files\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject9 Android Shipping “I:\jeremy\unreal engine 4\2\STUBBORN_DEMO 4.8\MyProject9.uproject” -no
MainFrameActions: Packaging (Android (All)): xge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (All)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:5): C:\Program Files\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject9 Android Shipping “I:\jeremy\unreal engine 4\2\STUBBORN_DEMO 4.8\MyProject9.uproject” -no
MainFrameActions: Packaging (Android (All)): xge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (All)): Stacktrace: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (All)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: Packaging (Android (All)): at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (All)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Android (All)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Android (All)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (All)): at BuildCommand.Execute() MainFrameActions: Packaging (Android (All)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Android (All)): at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Android (All)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (All)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Android (All)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: Command failed (Result:5): C:\Program Files\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject9 Android Shipping “I:\jeremy\unreal engine 4\2\STUBBORN_DEMO 4.8\MyProject9.uproject” -noxge -rocket -NoHotReloadFromI
MainFrameActions: Packaging (Android (All)): DE -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5
MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (All)): copying UAT log files…
MainFrameActions: Packaging (Android (All)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (All)): BUILD FAILED