Hey there,
I’m currently trying to launch on a note 7 which is connected via wifi as outlined here: https://docs.unrealengine.com/latest/INT/Platforms/GearVR/Debugging/index.html#wirelessdeploying&debugging
Most of it seems to be working fine but it fails when running the AutomationTool.
I stumbled across this thread which sounds rather similar but seems to be fixed already: FIX: Android deployment/launch failure when ADB connected over Wifi - Mobile - Epic Developer Community Forums
USB works absolutely fine and I’m trying this with 4.13.1
I would greatly appreciate any help!
LogPlayLevel: Completed Launch On Stage: Cooking in the editor, Time: 14.799761
LogPlayLevel: Running AutomationTool...
LogPlayLevel: Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=P:/UnrealProjects/GearVRTest/GearVRTest.uproject BuildCookRun -project=P:/UnrealProjects/GearVRTest/GearVRTest.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=Android_AST
C -targetplatform=Android -cookflavor=ASTC -map=/Game/FirstPersonBP/Maps/FirstPersonExampleMap -skipcook -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline="/Game/FirstPersonBP/Maps/FirstPersonExampleMap -Messaging" -device=Android_ASTC@10.1.1.200:5555 -addcmdline="-SessionId=66DFD44E4D3DD7CCD52381941F6D3A8F -SessionOwner='ffricke' -Sessi
onName='Launch On Device' " -run
LogPlayLevel: Automation.Process: Setting up command environment.
LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for P:\UnrealProjects\GearVRTest\GearVRTest.uproject
LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
LogPlayLevel: Project.WriteStageCommandline: Creating UE4CommandLine.txt
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.000965
LogPlayLevel: Project.CreateStagingManifest: Creating Staging Manifest...
LogPlayLevel: Project.CleanStagingDirectory: Cleaning Stage Directory: P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying NonUFSFiles to staging directory: P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying DebugFiles to staging directory: P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying UFSFiles to staging directory: P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: CommandUtils.Run: Run: E:\\android-sdk-windows\platform-tools\adb.exe -s 10.1.1.200:5555 shell "echo $EXTERNAL_STORAGE"
LogPlayLevel: CommandUtils.Run: Run: Took 0,280028s to run adb.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: E:\\android-sdk-windows\platform-tools\adb.exe -s 10.1.1.200:5555 pull /sdcard/UE4Game/GearVRTest/Manifest_UFSFiles_Android.txt "P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC\Manifest_UFSFiles_Android.txt_10.1.1.200_5555"
LogPlayLevel: CommandUtils.Run: Run: Took 0,3030303s to run adb.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: E:\\android-sdk-windows\platform-tools\adb.exe -s 10.1.1.200:5555 pull /sdcard/UE4Game/GearVRTest/Manifest_NonUFSFiles_Android.txt "P:\UnrealProjects\GearVRTest\Saved\StagedBuilds\Android_ASTC\Manifest_NonUFSFiles_Android.txt_10.1.1.200_5555"
LogPlayLevel: CommandUtils.Run: Run: Took 0,2860286s to run adb.exe, ExitCode=0
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.NotSupportedException: The given path's format is not supported.
LogPlayLevel: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
LogPlayLevel: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
LogPlayLevel: at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
LogPlayLevel: at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
LogPlayLevel: at System.IO.StreamWriter..ctor(String path, Boolean append)
LogPlayLevel: at System.IO.File.CreateText(String path)
LogPlayLevel: at Project.WriteObsoleteManifest(ProjectParams Params, DeploymentContext SC, Dictionary`2 DeployedFiles, Dictionary`2 StagedFiles, String ObsoleteManifest)
LogPlayLevel: at Project.CopyBuildToStagingDirectory(ProjectParams Params)
LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: at AutomationTool.BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments)
LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 21.000665
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error