Hi,
When I attempt to deploy a simple project to Gear VR I get an error message. Here is what shows up in the command line:
LogSavePackage: Save=966.26ms
LogSavePackage: Moving ‘…/…/…/…/…/…/Users/ashle/Documents/Unreal Projects/alienterrain/Saved/UEDPCFirstPersonExampleMap61AECB9F4BA2D705F045108BEF2AD5F4.tmp’ to ‘…/…/…/…/…/…/Users/ashle/Documents/Unreal Projects/alienterrain/Saved/Autosaves/Game/FirstPersonCPP/Maps/UEDPCFirstPersonExampleMap.umap’
LogSavePackage:Display: Finished SavePackage …/…/…/…/…/…/Users/ashle/Documents/Unreal Projects/alienterrain/Saved/Autosaves/Game/FirstPersonCPP/Maps/UEDPCFirstPersonExampleMap.umap
LogEditorTransaction: Undo Spawn Play From Here Start
MainFrameActions: Packaging (Android (ETC2)): Running AutomationTool…
MainFrameActions: Packaging (Android (ETC2)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/Users/ashle/Documents/Unreal Projects/alienterrain/alienterrain.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/Users/ashle/Documents/Unreal Projects/al
MainFrameActions: Packaging (Android (ETC2)): ienterrain/alienterrain.uproject -cook -stage -archive -archivedirectory=C:/Users/ashle/Desktop/3Dmodeling/VRtestbuild -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ETC2 -build -CrashReporter -utf8output
MainFrameActions: Packaging (Android (ETC2)): Automation.Process: Setting up command environment.
MainFrameActions: Packaging (Android (ETC2)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject
MainFrameActions: Packaging (Android (ETC2)): Project.Build: ********** BUILD COMMAND STARTED **********
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe alienterrain Android Development -Project=“C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” -clean “C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” -re
moteini=“C:\Users\ashle\Documents\Unreal Projects\alienterrain” -nobuilduht -NoHotReloadFromIDE
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: building WITHOUT VULKAN define
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 4.6374516s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe alienterrain Android Development -Project=“C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” “C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” -remotein
i=“C:\Users\ashle\Documents\Unreal Projects\alienterrain” -noxge -generatemanifest -NoHotReloadFromIDE -ignorejunk
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: building WITHOUT VULKAN define
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 4.0272447s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe alienterrain Android Development -Project=“C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” “C:\Users\ashle\Documents\Unre
MainFrameActions: Packaging (Android (ETC2)): al Projects\alienterrain\alienterrain.uproject” -remoteini=“C:\Users\ashle\Documents\Unreal Projects\alienterrain” -noxge -NoHotReloadFromIDE -ignorejunk
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Creating makefile for alienterrain (no existing makefile)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: building WITHOUT VULKAN define
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Parsing headers for alienterrain
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Running UnrealHeaderTool “C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” “C:\Users\ashle\Documents\Unreal Projects\alienterrain\Intermediate\Build\Android\alienterrain\Development\alienterrain.uhtmanifest” -
MainFrameActions: Packaging (Android (ETC2)): LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Reflection code generated for alienterrain in 16.0306047 seconds
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Compiling Native code with NDK API ‘android-24’
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Performing 10 actions (4 in parallel)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [2/10] clang++.exe UELinkerFixupsName.h [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [1/10] clang++.exe alienterrain.h [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [3/10] clang++.exe UELinkerFixups.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [4/10] clang++.exe alienterrain.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [5/10] clang++.exe alienterrainCharacter.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [6/10] clang++.exe alienterrainGameMode.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [7/10] clang++.exe alienterrainHUD.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [8/10] clang++.exe alienterrainProjectile.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [9/10] clang++.exe alienterrain.generated.cpp [armv7-es2]
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [10/10] clang++.exe alienterrain-armv7-es2.so
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Total build time: 95.60 seconds
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Receipt Filename: C:\Users\ashle\Documents\Unreal Projects\alienterrain\Binaries\Android\alienterrain.target
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: APL: …\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ====4/4/2017 9:44:47 AM====PREPARING TO MAKE APK=================================================================
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Writing to shim file C:\Users\ashle\Documents\Unreal Projects\alienterrain\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Shim data file up to date so not writing. ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Writing to template target file C:\Users\ashle\Documents\Unreal Projects\alienterrain\Build\Android\src\com\YourCompany\alienterrain\AlarmReceiver.java ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Template target file up to date so not writing. ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Writing to template target file C:\Users\ashle\Documents\Unreal Projects\alienterrain\Build\Android\src\com\YourCompany\alienterrain\DownloaderActivity.java ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Template target file up to date so not writing. ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Writing to template target file C:\Users\ashle\Documents\Unreal Projects\alienterrain\Build\Android\src\com\YourCompany\alienterrain\OBBDownloaderService.java ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Template target file up to date so not writing. ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Cleaning up files based on template dir C:\Users\ashle\Documents\Unreal Projects\alienterrain\Build\Android\src\com\YourCompany\alienterrain
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Building Java with SDK API level ‘android-24’
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: C:\Users\ashle\Documents\Unreal Projects\alienterrain\Binaries\Android\alienterrain-armv7-es2.apk is out of date due to newer input file C:\Users\ashle\Documents\Unreal Projects\alienterrain\Binaries\Android\alienterrain-armv7-es2.so
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: APL Init: armeabi-v7a
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: GearVR init
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Disabling Show Launch Image for GearVR enabled application
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: bPackageDataInsideApk = False
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ====4/4/2017 9:44:49 AM====PREPARING NATIVE CODE=================================================================
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Disabling Show Launch Image for GearVR enabled application
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ====4/4/2017 9:44:49 AM====UPDATING BUILD CONFIGURATION FILES====================================================
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Error: Target id ‘android-24’ is not valid. Use ‘android.bat list targets’ to get the target ids.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Updating project.properties, local.properties, and build.xml…
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Error: Target id ‘android-24’ is not valid. Use ‘android.bat list targets’ to get the target ids.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Error: Target id ‘android-24’ is not valid. Use ‘android.bat list targets’ to get the target ids.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Updating project.properties, local.properties, and build.xml…
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Error: Target id ‘android-24’ is not valid. Use ‘android.bat list targets’ to get the target ids.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ==== Writing new GameActivity.java file to C:\Users\ashle\Documents\Unreal Projects\alienterrain\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Copying new .so C:\Users\ashle\Documents\Unreal Projects\alienterrain\Binaries\Android\alienterrain-armv7-es2.so file to jni folder…
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Preparing native code for debugging…
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: File …/…/Engine//Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_0/Libs/armeabi-v7a/libvrapi.so copied to C:\Users\ashle\Documents\Unreal Projects\alienterrain\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.so
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ====4/4/2017 9:45:06 AM====PERFORMING FINAL APK PACKAGE OPERATION================================================
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Making .apk with Ant… (note: it’s safe to ignore javac obsolete warnings)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Buildfile: build.xml does not exist!
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Build failed
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Making .apk with Ant again to show errors
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Buildfile: build.xml does not exist!
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Build failed
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: UnrealBuildTool Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\ashle\Documents\Unreal Projects\alienterrain\Intermediate/Android/APK/bin/alienterrain-debug.apk’.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInAp
k)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget)
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String[] Arguments)
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 116.2279643s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe alienterrain Android Development -Project=“C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterr
ain.uproject” “C:\Users\ashle\Documents\Unreal Projects\alienterrain\alienterrain.uproject” -remoteini=“C:\Users\ashle\Documents\Unreal Projects\alienterrain” -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.04.04-09.43.12.txt’
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary
2 EnvVars)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVar s) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable
1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable
1 InChangelistNumberOverride, D
ictionary2 InTargetToManifest) MainFrameActions: Packaging (Android (ETC2)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) MainFrameActions: Packaging (Android (ETC2)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.BuildCommand.Execute() MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Execute(List
1 CommandsToExecute, CaselessDictionary1 Commands) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.MainProc(Object ) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.InternalUtils.RunSingleInstance(Func
2 Main, Object )
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: Packaging (Android (ETC2)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ETC2)): copying UAT log files…
MainFrameActions: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults:Error: Error Unknown Error
Anyone have an idea what the problem is? I’m an artist and not the best with this kind of stuff.
Thank you!