x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

launching to wifi-connected android device fails

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: 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:\NVPACK\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:\NVPACK\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:\NVPACK\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
Product Version: UE 4.13
Tags:
more ▼

asked Oct 05 '16 at 12:39 PM in Packaging & Deployment

avatar image

FrickeF
6 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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!

more ▼

answered Oct 11 '16 at 06:44 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question