ERROR: cmd.exe failed with args

Good day everyone, I keep getting this error… I have looked up every possible answer online and nothing is working, please see below. Thank you for any advise!

Blockquote
BUILD FAILED in 1m 11s
64 actionable tasks: 64 executed
==============================================================================
ERROR: cmd.exe failed with args /c “C:\Users\joelp\OneDrive\Documents\Unreal Projects\VRDodgeandTouch\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
(see C:\Users\joelp\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_5.0\Log.txt for full exception trace)

BuildException: cmd.exe failed with args /c “C:\Users\joelp\OneDrive\Documents\Unreal Projects\VRDodgeandTouch\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
at UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithExceptionAndFiltering(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:line 1833
at 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) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:line 4720
at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, DirectoryReference ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, UnrealTargetConfiguration Configuration, Boolean bIsDataDeploy, Boolean bSkipGradleBuild) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:line 4936
at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:line 1065
at AutomationScripts.Project.Package(ProjectParams Params, Int32 WorkingCL) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:line 37
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 208
at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41
at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 254
at AutomationTool.Automation.Process(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 153

AutomationTool executed for 0h 8m 45s
AutomationTool exiting with ExitCode=1 (Error_Unknown)

Blockquote