Unknown error while building Android app with google VR plugin

Hi I am working on developing app for daydream/cardboard
Unknow Error occurs while I pack the project
Help me figure out the problem.
Thank you.

IntStats
LoadPackage=105
SavedPackage=1331
LogPlayLevel: Completed Launch On Stage: Cooking in the editor, Time: 100.955127
LogPlayLevel: Running AutomationTool…
LogPlayLevel: Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“C:/Users/India/Documents/Unreal Projects/GVR_QS/GVR_QS.uproject” BuildCookRun -project=“C:/Users/India/Documents/Unreal Projects/GVR_QS/GVR_QS.uproject” -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4exe=UE4Editor-Cmd.exe
-utf8output -platform=Android -build -map=/Game/Entrylevel -skipcook -CookInEditor -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline=“/Game/Entrylevel -Messaging” -device=Android@338af4831f603 -addcmdline="-SessionId=7F94F4BB46F7B84FD49040A6832793DE -SessionOwner=‘India’ -SessionName=‘Launch On Device’ " -run
LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject
LogPlayLevel: Project.Build: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 2.000661
LogPlayLevel: CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=“C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject” “C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject” -NoUBTMakefiles -remoteini=“C:\Users\India\Documents\Unreal Projects\GVR_Q
S” -noxge -generatemanifest -NoHotReload
LogPlayLevel: UnrealBuildTool: NDK version: 21, GccVersion: 4.9
LogPlayLevel: CommandUtils.Run: Run: Took 1.6920968s to run UnrealBuildTool.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=“C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject” “C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject” -NoUBTMakefiles -remoteini=“C:\Users\India\Documents\Unreal Projects\GVR_Q
S” -noxge -NoHotReload -ignorejunk
LogPlayLevel: UnrealBuildTool: NDK version: 21, GccVersion: 4.9
LogPlayLevel: UnrealBuildTool: Compiling Native code with NDK API ‘android-21’
LogPlayLevel: UnrealBuildTool: Performing 1 actions (4 in parallel)
LogPlayLevel: UnrealBuildTool: [1/1] clang++.exe GVR_QS-arm64-es2.so
LogPlayLevel: UnrealBuildTool: C:/NVPACK/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/…/…/…/…/aarch64-linux-android/bin\ld.gold.exe: internal error in read_cie, at /s/ndk-toolchain/src/build/…/binutils/binutils-2.25/gold/ehframe.cc:919
LogPlayLevel: UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
LogPlayLevel: UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\India\Documents\Unreal Projects\GVR_QS\Binaries\Android\GVR_QS-arm64-es2.so
LogPlayLevel: UnrealBuildTool: Total build time: 8.04 seconds (Local executor: 0.00 seconds)
LogPlayLevel: CommandUtils.Run: Run: Took 8.3354768s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe GVR_QS Android Development -Project=“C:\Users\India\Documents\Unreal Projects\GVR_QS\GVR_QS.uproject” “C:\Users\India\Docume
nts\Unreal Projects\GVR_QS\GVR_QS.uproject” -NoUBTMakefiles -remoteini=“C:\Users\India\Documents\Unreal Projects\GVR_QS” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.07.28-17.58.09.txt’
LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
LogPlayLevel: 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 EnvVars) LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) LogPlayLevel: at BuildCookRun.ExecuteBuild() LogPlayLevel: at AutomationTool.BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) LogPlayLevel: at AutomationTool.Automation.Process(String] Arguments) LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 9.750420
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error

This is the error:

C:/NVPACK/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/…/…/…/…/aarch64-linux-android/bin\ld.gold.exe: internal error in read_cie, at /s/ndk-toolchain/src/build/…/binutils/binutils-2.25/gold/ehframe.cc:919

Looks like a problem with the linker. I see you are using r10e ; I recommend using r12b from the new Codeworks for Android 1r6u1 in 4.16 instead of this older version.

Thank you for the prompt reply Chris.
I feel inspired to keep going since I am just starting out and this kinda support means a lot. :slight_smile: