# Launching to wifi-connected android device fails

**URL:** <https://forums.unrealengine.com/t/launching-to-wifi-connected-android-device-fails/372506>\
**Category:** Platform & Builds\
**Tags:** launch, build, unreal-engine, Android, build-failed, question\
**Created:** [October 5, 2016, 12:39pm UTC](https://forums.unrealengine.com/t/launching-to-wifi-connected-android-device-fails/372506 "2016-10-05T12:39:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrickeF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FrickeF](https://forums.unrealengine.com/u/FrickeF)\
**Post date:** [October 5, 2016, 12:39pm UTC](https://forums.unrealengine.com/t/launching-to-wifi-connected-android-device-fails/372506/1 "2016-10-05T12:39:40Z")

</div>

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](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](https://forums.unrealengine.com/showthread.php?83298-FIX-Android-deployment-launch-failure-when-ADB-connected-over-Wifi)

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

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [October 11, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/launching-to-wifi-connected-android-device-fails/372506/2 "2016-10-11T18:44:51Z")

</div>

FrickeF,

Thank you for bringing this to our attention. This is the error being seen in the logs provided:

```
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.NotSupportedException: The given path's format is not supported.

```

It’s possible that you’re failing due to the : being in the log filename for your device ID. A way to work around this is to package your project and install it over WiFi.

Thanks!

---

<div class="post-metadata">

**Author:** ![Akirahiroma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Akirahiroma](https://forums.unrealengine.com/u/Akirahiroma)\
**Post date:** [October 8, 2024, 3:40pm UTC](https://forums.unrealengine.com/t/launching-to-wifi-connected-android-device-fails/372506/3 "2024-10-08T15:40:14Z")

</div>

Wi-Fi could interfere with connectivity between the Note 7 and the AutomationTool machine and most likely it will fail due to Wi-Fi connection issues. Have you tried to connect it using USB adapter? [https://www.tp-link.com/ph/home-networking/adapter/archer-t2e/](https://www.tp-link.com/ph/home-networking/adapter/archer-t2e/)
