Can't lauch to Android from OSX

DaneleRoux
Tue, 03 Oct 2017 06:50:28 +0000
Mobile

Hi

I followed the tutorial and installed Java and Nvidia CodeWorksforAndroid-1R6u1, did all the steps exactly as stated.

Upon restarting my machine, and running Monitor in the Terminal, I get a ‘Command not found’ error, and the monitoring app doesnt launch as its supposed to.

I tried uninstalling and reinstalling everything, to no avail. Is there a definitive way to uninstall everything from the Android setup tutorial and start fresh?

I also set up my Android SDK in project settings as follows:

UE4 picks up my phone after installing the above mentioned components, but launching to it throws this error:

LogPlayLevel: ====2017-10-03 08:44:25 AM====UPDATING BUILD CONFIGURATION FILES====================================================

LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.ComponentModel.Win32Exception: ApplicationName=’/Users/daneler/NVPACK/android-sdk-macosx/tools/android’, CommandLine=’–silent update lib-project --path JavaLibs/downloader_library --target android-24’, CurrentDirectory=’/Users/daneler/Documents/Unreal Projects/MyProject/Intermediate/Android/APK’, Native error= Cannot find the specified file

LogPlayLevel: at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0

LogPlayLevel: at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0

LogPlayLevel: at System.Diagnostics.Process.Start () [0x00000] in :0

LogPlayLevel: at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithException (System.String WorkingDirectory, System.String Command, System.String Params, System.String OverrideDesc, Boolean bUseShellExecute) [0x00000] in :0

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.UpdateProjectProperties (UnrealBuildTool.AndroidToolChain ToolChain, System.String UE4BuildPath, System.String ProjectName) [0x00000] in :0

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.MakeApk (UnrealBuildTool.AndroidToolChain ToolChain, System.String ProjectName, System.String ProjectDirectory, System.String OutputPath, System.String EngineDirectory, Boolean bForDistribution, System.String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataIn
Apk, Boolean bDisallowExternalFilesDir) [0x00000] in :0

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy (UnrealBuildTool.FileReference ProjectFile, System.String ProjectName, System.String ProjectDirectory, System.String ExecutablePath, System.String EngineDirectory, Boolean bForDistribution, System.String CookFlavor, Boolean bIsDataDeploy) [0x00000] in :0

LogPlayLevel: at AndroidPlatform.Deploy (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x00000] in :0

LogPlayLevel: at Project.Deploy (AutomationTool.ProjectParams Params) [0x00000] in :0

LogPlayLevel: at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in :0

LogPlayLevel: at BuildCookRun.ExecuteBuild () [0x00000] in :0

LogPlayLevel: at AutomationTool.BuildCommand.Execute () [0x00000] in :0

LogPlayLevel: at AutomationTool.Automation.Execute (System.Collections.Generic.List1 CommandsToExecute, Tools.DotNETCommon.CaselessDictionary.CaselessDictionary1 Commands) [0x00000] in :0

LogPlayLevel: at AutomationTool.Automation.Process (System.String[] Arguments) [0x00000] in :0

LogPlayLevel: at AutomationTool.Program.MainProc (System.Object Param) [0x00000] in :0

LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance (System.Func`2 Main, System.Object Param) [0x00000] in :0

LogPlayLevel: at AutomationTool.Program.Main () [0x00000] in :0

LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 1.779777

LogPlayLevel: RunUAT ERROR: AutomationTool was unable to run successfully.

PackagingResults:Error: Error Launch failed! Unknown Error*

1 post - 1 participant