Since 4.9.1, I’ve been unable to launch my game to my device. I get the following error:
Running AutomationTool…
Program.Main: CWD=C:\Program Files\Unreal Engine\4.9\Engine\Binaries\DotNET
Automation.ParseCommandLine: Parsing command line: BuildCookRun -project=C:/Users/Sean/Documents/Unreal Projects/My_Mobile_Content/My_Mobile_Content.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -rocket -utf8output -platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1 -cookonthefly -nokill -map= -compressed -stage -deploy -cmdline= -Messaging -device=Android_ETC1@LGD41588d4322e -addcmdline=-SessionId=2706405745B20FA968365592EA07D140 -SessionOwner=Sean -SessionName=‘LG_D415 (LGD41588d4322e)’ -run -nokill
Automation.Process: IsBuildMachine=False
Automation.Process: ShouldKillProcesses=False
Automation.Process: Setting up command environment.
CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Unreal Engine/4.9/Engine/Programs/AutomationTool/Saved
CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Program Files/Unreal Engine/4.9/Engine/Programs/AutomationTool/Saved/Logs)
WindowsHostPlatform.SetFrameworkVars: Setting .Net Framework environment variables.
WindowsHostPlatform.SetFrameworkVars: Supports64bitExecutables=True
WindowsHostPlatform.SetFrameworkVars: WindowsPlatform.CompilerVisualStudio2013
CommandEnvironment.SetupBuildEnvironment: WARNING: SetFrameworkVars failed. Assuming no compilation capability.
ProjectUtils.CleanupFolders: Cleaning up project rules folder
Automation.Process: Compiling scripts.
ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs
ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 9 script DLL(s).
BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject
ProjectParams.ValidateAndLog: Project Params **************
ProjectParams.ValidateAndLog: AdditionalServerMapParams=
ProjectParams.ValidateAndLog: Archive=False
ProjectParams.ValidateAndLog: ArchiveMetaData=False
ProjectParams.ValidateAndLog: CreateAppBundle=True
ProjectParams.ValidateAndLog: BaseArchiveDirectory=C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\ArchivedBuilds
ProjectParams.ValidateAndLog: BaseStageDirectory=C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds
ProjectParams.ValidateAndLog: Build=False
ProjectParams.ValidateAndLog: Cook=False
ProjectParams.ValidateAndLog: Clean=
ProjectParams.ValidateAndLog: Client=False
ProjectParams.ValidateAndLog: ClientConfigsToBuild=Development
ProjectParams.ValidateAndLog: ClientCookedTargets=UE4Game
ProjectParams.ValidateAndLog: ClientTargetPlatform=Android
ProjectParams.ValidateAndLog: Compressed=True
ProjectParams.ValidateAndLog: UseDebugParamForEditorExe=False
ProjectParams.ValidateAndLog: CookFlavor=ETC1
ProjectParams.ValidateAndLog: CookOnTheFly=True
ProjectParams.ValidateAndLog: CookOnTheFlyStreaming=False
ProjectParams.ValidateAndLog: UnversionedCookedContent=False
ProjectParams.ValidateAndLog: SkipCookingEditorContent=False
ProjectParams.ValidateAndLog: NumCookersToSpawn=0
ProjectParams.ValidateAndLog: GeneratePatch=False
ProjectParams.ValidateAndLog: CreateReleaseVersion=
ProjectParams.ValidateAndLog: BasedOnReleaseVersion=
ProjectParams.ValidateAndLog: DLCName=
ProjectParams.ValidateAndLog: DLCIncludeEngineContent=False
ProjectParams.ValidateAndLog: AdditionalCookerOptions=
ProjectParams.ValidateAndLog: DedicatedServer=False
ProjectParams.ValidateAndLog: DirectoriesToCook=
ProjectParams.ValidateAndLog: CulturesToCook=
ProjectParams.ValidateAndLog: EditorTargets=
ProjectParams.ValidateAndLog: Foreign=False
ProjectParams.ValidateAndLog: IsCodeBasedProject=False
ProjectParams.ValidateAndLog: IsProgramTarget=False
ProjectParams.ValidateAndLog: IterativeCooking=False
ProjectParams.ValidateAndLog: CookAll=False
ProjectParams.ValidateAndLog: CookMapsOnly=False
ProjectParams.ValidateAndLog: Deploy=True
ProjectParams.ValidateAndLog: IterativeDeploy=False
ProjectParams.ValidateAndLog: FastCook=False
ProjectParams.ValidateAndLog: LogWindow=False
ProjectParams.ValidateAndLog: Manifests=False
ProjectParams.ValidateAndLog: MapToRun=
ProjectParams.ValidateAndLog: NoClient=False
ProjectParams.ValidateAndLog: NumClients=0
ProjectParams.ValidateAndLog: NoDebugInfo=False
ProjectParams.ValidateAndLog: NoCleanStage=False
ProjectParams.ValidateAndLog: NoXGE=False
ProjectParams.ValidateAndLog: MapsToCook=
ProjectParams.ValidateAndLog: Pak=False
ProjectParams.ValidateAndLog: Package=False
ProjectParams.ValidateAndLog: NullRHI=False
ProjectParams.ValidateAndLog: FakeClient=False
ProjectParams.ValidateAndLog: EditorTest=False
ProjectParams.ValidateAndLog: RunAutomationTests=False
ProjectParams.ValidateAndLog: RunAutomationTest=
ProjectParams.ValidateAndLog: RunTimeoutSeconds=0
ProjectParams.ValidateAndLog: CrashIndex=0
ProjectParams.ValidateAndLog: ProgramTargets=
ProjectParams.ValidateAndLog: ProjectBinariesFolder=C:\Program Files\Unreal Engine\4.9\Engine\Binaries\Android
ProjectParams.ValidateAndLog: ProjectBinariesPath=C:\Program Files\Unreal Engine\4.9\Engine\Binaries\Android
ProjectParams.ValidateAndLog: ProjectGameExeFilename=C:\Program Files\Unreal Engine\4.9\Engine\Binaries\Android\UE4Game
ProjectParams.ValidateAndLog: ProjectGameExePath=C:\Program Files\Unreal Engine\4.9\Engine\Binaries\Android\UE4Game
ProjectParams.ValidateAndLog: Distribution=False
ProjectParams.ValidateAndLog: Prebuilt=False
ProjectParams.ValidateAndLog: Prereqs=False
ProjectParams.ValidateAndLog: NoBootstrapExe=False
ProjectParams.ValidateAndLog: RawProjectPath=C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject
ProjectParams.ValidateAndLog: Rocket=True
ProjectParams.ValidateAndLog: Run=True
ProjectParams.ValidateAndLog: ServerConfigsToBuild=Development
ProjectParams.ValidateAndLog: ServerCookedTargets=
ProjectParams.ValidateAndLog: ServerTargetPlatform=Android
ProjectParams.ValidateAndLog: ShortProjectName=My_Mobile_Content
ProjectParams.ValidateAndLog: SignedPak=False
ProjectParams.ValidateAndLog: SignPak=
ProjectParams.ValidateAndLog: SkipCook=False
ProjectParams.ValidateAndLog: SkipCookOnTheFly=False
ProjectParams.ValidateAndLog: SkipPak=False
ProjectParams.ValidateAndLog: SkipStage=False
ProjectParams.ValidateAndLog: Stage=True
ProjectParams.ValidateAndLog: bUsesSteam=False
ProjectParams.ValidateAndLog: bUsesCEF3=False
ProjectParams.ValidateAndLog: bUsesSlate=True
ProjectParams.ValidateAndLog: bDebugBuildsActuallyUseDebugCRT=False
ProjectParams.ValidateAndLog: Project Params **************
Project.Cook: ********** COOK COMMAND STARTED **********
CommandUtils.Run: Run: C:\Program Files\Unreal Engine\4.9\Engine\Binaries\Win64\UE4Editor.exe “C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject” -run=cook -cookonthefly -unattended -CrashForUAT -FORCELOGFLUSH -log -abslog=C:\Users\Sean\AppData\Local\Temp\C+Program+Files+Unreal+Engine+4.9\Logs\Server.log -SessionId=2706405745B20FA968365592EA07D140 -SessionOwner=Sean -SessionName=‘LG_D415 (LGD41588d4322e)’
Project.Cook: Waiting a few seconds for the server to start…
Project.Cook: ********** COOK COMMAND COMPLETED **********
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
Project.LogDeploymentContext: Deployment Context **************
Project.LogDeploymentContext: ArchiveDirectory = Android_ETC1
Project.LogDeploymentContext: RawProjectPath = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject
Project.LogDeploymentContext: IsCodeBasedUprojectFile = False
Project.LogDeploymentContext: DedicatedServer = False
Project.LogDeploymentContext: Stage = True
Project.LogDeploymentContext: StageTargetPlatform = Android
Project.LogDeploymentContext: LocalRoot = C:\Program Files\Unreal Engine\4.9
Project.LogDeploymentContext: ProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content
Project.LogDeploymentContext: PlatformDir = Android
Project.LogDeploymentContext: StageProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: ShortProjectName = My_Mobile_Content
Project.LogDeploymentContext: StageDirectory = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: SourceRelativeProjectRoot = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForStage = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForUnrealPak = My_Mobile_Content
Project.LogDeploymentContext: ProjectArgForCommandLines = …/…/…/My_Mobile_Content/My_Mobile_Content.uproject
Project.LogDeploymentContext: RuntimeRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: RuntimeProjectRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: UProjectCommandLineArgInternalRoot = …/…/…/
Project.LogDeploymentContext: PakFileInternalRoot = …/…/…/
Project.LogDeploymentContext: UnrealFileServerInternalRoot = …/…/…/
Project.LogDeploymentContext: End Deployment Context **************
CommandUtils.Run: Run: E:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s LGD41588d4322e shell “echo $EXTERNAL_STORAGE”
CommandUtils.Run: Run: Took 0.0540031s to run adb.exe, ExitCode=0
CommandUtils.Run: Run: E:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s LGD41588d4322e pull /storage/emulated/legacy/UE4Game/My_Mobile_Content/Manifest_UFSFiles.txt “C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\Manifest_UFSFiles.txt_Android_ETC1@LGD41588d4322e”
CommandUtils.Run: Run: Took 0.0800046s to run adb.exe, ExitCode=1
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND COMPLETED **********
Project.LogDeploymentContext: Deployment Context **************
Project.LogDeploymentContext: ArchiveDirectory = Android_ETC1
Project.LogDeploymentContext: RawProjectPath = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject
Project.LogDeploymentContext: IsCodeBasedUprojectFile = False
Project.LogDeploymentContext: DedicatedServer = False
Project.LogDeploymentContext: Stage = True
Project.LogDeploymentContext: StageTargetPlatform = Android
Project.LogDeploymentContext: LocalRoot = C:\Program Files\Unreal Engine\4.9
Project.LogDeploymentContext: ProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content
Project.LogDeploymentContext: PlatformDir = Android
Project.LogDeploymentContext: StageProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: ShortProjectName = My_Mobile_Content
Project.LogDeploymentContext: StageDirectory = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: SourceRelativeProjectRoot = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForStage = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForUnrealPak = My_Mobile_Content
Project.LogDeploymentContext: ProjectArgForCommandLines = …/…/…/My_Mobile_Content/My_Mobile_Content.uproject
Project.LogDeploymentContext: RuntimeRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: RuntimeProjectRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: UProjectCommandLineArgInternalRoot = …/…/…/
Project.LogDeploymentContext: PakFileInternalRoot = …/…/…/
Project.LogDeploymentContext: UnrealFileServerInternalRoot = …/…/…/
Project.LogDeploymentContext: End Deployment Context **************
Project.Package: ********** PACKAGE COMMAND STARTED **********
Project.Package: ********** PACKAGE COMMAND COMPLETED **********
Project.Deploy: ********** DEPLOY COMMAND STARTED **********
Project.LogDeploymentContext: Deployment Context **************
Project.LogDeploymentContext: ArchiveDirectory = Android_ETC1
Project.LogDeploymentContext: RawProjectPath = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\My_Mobile_Content.uproject
Project.LogDeploymentContext: IsCodeBasedUprojectFile = False
Project.LogDeploymentContext: DedicatedServer = False
Project.LogDeploymentContext: Stage = True
Project.LogDeploymentContext: StageTargetPlatform = Android
Project.LogDeploymentContext: LocalRoot = C:\Program Files\Unreal Engine\4.9
Project.LogDeploymentContext: ProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content
Project.LogDeploymentContext: PlatformDir = Android
Project.LogDeploymentContext: StageProjectRoot = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: ShortProjectName = My_Mobile_Content
Project.LogDeploymentContext: StageDirectory = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: SourceRelativeProjectRoot = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForStage = My_Mobile_Content
Project.LogDeploymentContext: RelativeProjectRootForUnrealPak = My_Mobile_Content
Project.LogDeploymentContext: ProjectArgForCommandLines = …/…/…/My_Mobile_Content/My_Mobile_Content.uproject
Project.LogDeploymentContext: RuntimeRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1
Project.LogDeploymentContext: RuntimeProjectRootDir = C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Saved\StagedBuilds\Android_ETC1\My_Mobile_Content
Project.LogDeploymentContext: UProjectCommandLineArgInternalRoot = …/…/…/
Project.LogDeploymentContext: PakFileInternalRoot = …/…/…/
Project.LogDeploymentContext: UnrealFileServerInternalRoot = …/…/…/
Project.LogDeploymentContext: End Deployment Context **************
CommandUtils.Run: Run: E:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s LGD41588d4322e shell getprop ro.product.cpu.abi
CommandUtils.Run: Run: Took 0.0910052s to run adb.exe, ExitCode=0
CommandUtils.Run: Run: E:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s LGD41588d4322e shell dumpsys SurfaceFlinger
CommandUtils.Run: Run: Took 0.1370079s to run adb.exe, ExitCode=0
UEDeployAndroid.MakeApk:
====9/28/2015 9:53:02 PM====PREPARING TO MAKE APK=================================================================
UEDeployAndroid.WriteJavaOBBDataFile:
==== Writing to OBB data file C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\YourCompany\My_Mobile_Content\OBBData.java ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Writing to shim file C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Shim data file up to date so not writing. ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Writing to template target file C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\YourCompany\My_Mobile_Content\AlarmReceiver.java ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Template target file up to date so not writing. ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Writing to template target file C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\YourCompany\My_Mobile_Content\DownloaderActivity.java ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Template target file up to date so not writing. ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Writing to template target file C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\YourCompany\My_Mobile_Content\OBBDownloaderService.java ====
UEDeployAndroid.WriteJavaDownloadSupportFiles:
==== Template target file up to date so not writing. ====
UEDeployAndroid.MakeApk: Cleaning up files based on template dir C:\Users\Sean\Documents\Unreal Projects\My_Mobile_Content\Build\Android\src\com\YourCompany\My_Mobile_Content
BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: Can’t make an APK without an API installed (see “android.bat list targets”)
Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.GetSdkApiLevel()
at UnrealBuildTool.Android.UEDeployAndroid.GetAllBuildSettings(String BuildPath, Boolean bForDistribution, Boolean bMakeSeparateApks, Boolean bPackageDataInsideApk, Boolean bDisableVerifyOBBOnStartUp)
at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
at Project.Deploy(ProjectParams Params)
at BuildCookRun.DoBuildCookRun(ProjectParams Params)
at BuildCommand.Execute()
at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands)
at AutomationTool.Automation.Process(String[] CommandLine)
at AutomationTool.Program.MainProc(Object Param)
at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
at AutomationTool.Program.Main()
ProcessManager.KillAll: Trying to kill 1 spawned processes.
ProcessManager.KillAll: UE4Editor
ProcessManager.KillAll: Killing process: UE4Editor
ProcessResult.StopProcess: Process UE4Editor successfully exited.
Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
Domain_ProcessExit
copying UAT log files…
RunUAT.bat ERROR: AutomationTool was unable to run successfully.
BUILD FAILED