Download

UE4.25 cmd.exe failed with args

I’ve built a bunch of times and installed the application on my phone for testing, and there were no problems. As I decided to create a version for Google Play, errors started.
The error also occurred on versions a couple of years ago on UE 4.18, but then I deleted NVPACK, downloaded again and everything worked, but now:

The setting was this:

The error is this:
[SPOILER]UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: cmd.exe failed with args / c “G: \ UE \ Falcoware \ Check_Reaction \ Check_Reaction \ Intermediate \ Android \ armv7 \ gradle \ rungradle.bat”: app: assembleRelease
UATHelper: Packaging (Android (ASTC)): (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+EpicGames+UE_4.25\Log.txt for full exception trace)
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: cmd.exe failed with args /c “G:\UE\Falcoware\Check_Reaction\Check_Reaction\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleRelease
PackagingResults: Error: Unknown Error[/SPOILER]

Log:
[SPOILER]UEDeployAndroid.FilterStdOutErr: BUILD FAILED in 1m 1s
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: cmd.exe failed with args /c “G:\UE\Falcoware\Check_Reaction\Check_Reaction\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleRelease
Log.WriteException: (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+EpicGames+UE_4.25\Log.txt for full exception trace)
Log.WriteException:
Log.WriteException: BuildException: cmd.exe failed with args /c “G:\UE\Falcoware\Check_Reaction\Check_Reaction\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleRelease
Log.WriteException: в UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithExceptionAndFiltering(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:строка 1439
Log.WriteException: в UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, TargetType InTargetType, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, UnrealTargetConfiguration Configuration, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir, Boolean bSkipGradleBuild) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:строка 3825
Log.WriteException: в UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, DirectoryReference ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, UnrealTargetConfiguration Configuration, Boolean bIsDataDeploy, Boolean bSkipGradleBuild) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:строка 4368
Log.WriteException: в AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:строка 596
Log.WriteException: в Project.Package(ProjectParams Params, Int32 WorkingCL) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:строка 35
Log.WriteException: в BuildCookRun.DoBuildCookRun(ProjectParams Params) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:строка 210
Log.WriteException: в BuildCookRun.ExecuteBuild() в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:строка 39
Log.WriteException: в AutomationTool.BuildCommand.Execute() в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:строка 263
Log.WriteException: в AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 539
Log.WriteException: в AutomationTool.Automation.Process(String] Arguments, StartupTraceListener StartupListener) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 509
Log.WriteException: в AutomationTool.Program.MainProc(String] Arguments, StartupTraceListener StartupListener) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 176
Log.WriteException: в AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 88
Log.WriteException: в AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:строка 731
Log.WriteException: в AutomationTool.Program.Main(String] Arguments) в D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 88
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)[/SPOILER]