Failure when packaging for VR

Hi! im getting a bit trouble when trying to Package my Apk for a samsung gear device.

I get this error from the console:

MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: BUILD FAILED
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:653: The following error occurred while executing this line:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:698: null returned: 1
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Total time: 8 seconds
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 75,3505526s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: Exception in AutomationUtils.Automation: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\DotNET\UnrealBuildTool.exe AP_Developer_Blank Android Development D:\ProyectoUnreal\AP_Developer_Blank\AP_Developer_Blank.uproject -remoteini=“D:\ProyectoUnreal\AP_Developer_Blank” -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.04.08-11.28.16.txt’
MainFrameActions: Packaging (Android (ETC2)): Stacktrace: en AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac,
MainFrameActions: Packaging (Android (ETC2)): Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Android (ETC2)): en Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Android (ETC2)): en BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (ETC2)): en BuildCommand.Execute() MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.Program.MainProc(Object ) MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.InternalUtils.RunSingleInstance(Action1 Main, Object )
MainFrameActions: Packaging (Android (ETC2)): en AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ETC2)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ETC2)): copying UAT log files…
MainFrameActions: Packaging (Android (ETC2)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults:Error: Error Unknown Error.

Can someone help me please? i think it can be because of mi TEGRA files but im not sure…

Thanks!

Where did you put your your signature files?

Hello ,

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

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. As suggested by , could you make sure that your OSIG file is in the correct path location?

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Yes, sorry ive been so busy. Its solved now.

Thanks a lot! :smiley: