Android GoogleVr quickstartExample build failed arm7

  • Following example https://docs.unrealengine.com/latest/INT/Platforms/GoogleVR/QuickStart/index.html
  • CodeWorksforAndroid-1r4u2
  • Visual Studio Community 2015(fresh install)
  • Package Android ATC

OutputLog


LogSavePackage: Moving 'E:/projects/GVR/GVR_QS/Saved/UEDPCEntryLevelF20F9DFC4B2F9CAAE6A8479C3DD46A0A.tmp' to 'E:/projects/GVR/GVR_QS/Saved/Autosaves/Game/UEDPCEntryLevel.umap'
LogSavePackage:Display: Finished SavePackage E:/projects/GVR/GVR_QS/Saved/Autosaves/Game/UEDPCEntryLevel.umap
LogEditorTransaction: Undo Spawn Play From Here Start
UATHelper: Packaging (Android (ATC)): Running AutomationTool...
UATHelper: Packaging (Android (ATC)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=E:/projects/GVR/GVR_QS/GVR_QS.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=E:/projects/GVR/GVR_QS/GVR_QS.uproject -cook -stage -archive -archivedirectory=E
UATHelper: Packaging (Android (ATC)): :/projects/GVR/GVR_QS/Build/AndroidBuilds -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ATC -build -CrashReporter -utf8output
UATHelper: Packaging (Android (ATC)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Android (ATC)): BuildCookRun.SetupParams: Setting up ProjectParams for E:\projects\GVR\GVR_QS\GVR_QS.uproject
UATHelper: Packaging (Android (ATC)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=E:\projects\GVR\GVR_QS\GVR_QS.uproject  E:\projects\GVR\GVR_QS\GVR_QS.uproject  -remoteini="E:\projects\GVR\GVR_QS" -noxg
UATHelper: Packaging (Android (ATC)): e -generatemanifest -NoHotReload
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: NDK version: 21, GccVersion: 4.9
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: building WITHOUT VULKAN define
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 2,9204417s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=E:\projects\GVR\GVR_QS\GVR_QS.uproject  E:\projects\GVR\GVR_QS\GVR_QS.uproject  -remoteini="E:\projects\GVR\GVR_QS" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Creating makefile for GVR_QS (changes to target files)
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: NDK version: 21, GccVersion: 4.9
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: building WITHOUT VULKAN define
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Compiling Native code with NDK API 'android-21'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Performing 1 actions (4 in parallel)
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: [1/1] clang++.exe GVR_QS-armv7-es2.so
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: E:/NVPACK/android-ndk-r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld: error: C:/Program Files/Epic Games/4.13/Engine/Plugins/Runtime/GoogleVR/Goo
UATHelper: Packaging (Android (ATC)): gleVRHMD/Binaries/Android/UE4-GoogleVRHMD-armv7-es2.a(Module.GoogleVRHMD.cpp-armv7-es2.o): multiple definition of 'GetHMD()'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: E:/NVPACK/android-ndk-r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld: C:/Program Files/Epic Games/4.13/Engine/Plugins/Runtime/GearVR/Binaries/And
UATHelper: Packaging (Android (ATC)): roid/UE4-GearVR-armv7-es2.a(Module.GearVR.cpp-armv7-es2.o): previous definition here
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: E:\projects\GVR\GVR_QS\Binaries\Android\GVR_QS-armv7-es2.so
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Total build time: 30,27 seconds
UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 30,7481328s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=E:
UATHelper: Packaging (Android (ATC)): \projects\GVR\GVR_QS\GVR_QS.uproject  E:\projects\GVR\GVR_QS\GVR_QS.uproject  -remoteini="E:\projects\GVR\GVR_QS" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.09.03-14.46.45.txt' 
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Android (ATC)):    bij 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, Dictionary`2 EnvVars)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictiona
ry`2 InTargetToManifest)
UATHelper: Packaging (Android (ATC)):    bij Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Android (ATC)):    bij BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (ATC)):    bij AutomationTool.Program.Main()
UATHelper: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (ATC)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

I used the codeworks installer from the unrealengine extra’s folder

Hello DutchAnimator,

I have a couple of questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you provide your complete log?
  2. Could you provide screen shots of your Android settings?

[logs and settings1

Hello DutchAnimator,

Thank you for the additional information. It appears that the issue is a known issue. I have provided a link below to the public tacker. Please feel free to use the provided link for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-35691)

Make it a great day