You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files #rb none [CL 14384911 by Marcus Wassmer in ue5-main branch]
This commit is contained in:
@@ -122,13 +122,16 @@ private:
|
||||
OutStdErr = &DefaultError;
|
||||
}
|
||||
|
||||
FPlatformProcess::ExecProcess(*ADBPath, *CommandLine, &ReturnCode, OutStdOut, OutStdErr);
|
||||
|
||||
if (ReturnCode != 0)
|
||||
if (FPaths::FileExists(*ADBPath))
|
||||
{
|
||||
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("The Android SDK command '%s' failed to run. Return code: %d, Error: %s\n"), *CommandLine, ReturnCode, **OutStdErr);
|
||||
FPlatformProcess::ExecProcess(*ADBPath, *CommandLine, &ReturnCode, OutStdOut, OutStdErr);
|
||||
|
||||
return false;
|
||||
if (ReturnCode != 0)
|
||||
{
|
||||
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("The Android SDK command '%s' failed to run. Return code: %d, Error: %s\n"), *CommandLine, ReturnCode, **OutStdErr);
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user