Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[SOLVED]Android Packaging Error


I have the following problem with the pacaking in android, I have the same error launching directly from the editor to my device and also packaging the project

 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: BUILD FAILED
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:694: null returned: 1
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: 
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Total time: 7 seconds
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug
 MainFrameActions: Packaging (Android (All)): CommandUtils.Run: Run: Took 24.8057022s to run UnrealBuildTool.exe, ExitCode=5
 MainFrameActions: Packaging (Android (All)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: Exception in AutomationUtils.Automation: Command failed (Result:5): C:\UnrealEngine-4.10\Engine\Binaries\DotNET\UnrealBuildTool.exe ARToolkitTest Android Development  "C:\Users\Mimic-Unreal\Documents\Unreal Projects\ARToolkitTest\ARToolkitTest.uproject"  -remoteini="C:\Users\Mimic-Unreal\Documents\Unreal Projects\ARToolkitTest" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.02.03-09.35.45.txt' 
 MainFrameActions: Packaging (Android (All)): Stacktrace:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 800
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 63
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 345
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1459
 MainFrameActions: Packaging (Android (All)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 114
 MainFrameActions: Packaging (Android (All)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 209
 MainFrameActions: Packaging (Android (All)):    at BuildCommand.Execute() in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 35
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 395
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.Automation.Process(String[] CommandLine) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 369
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.Program.MainProc(Object Param) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\Program.cs:line 134
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param) in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 708
 MainFrameActions: Packaging (Android (All)):    at AutomationTool.Program.Main() in C:\UnrealEngine-4.10\Engine\Source\Programs\AutomationTool\Program.cs:line 53
 MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5
 MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
 MainFrameActions: Packaging (Android (All)): AutomationToolLauncher exiting with ExitCode=5
 MainFrameActions: Packaging (Android (All)): copying UAT log files...
 MainFrameActions: Packaging (Android (All)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
 MainFrameActions: Packaging (Android (All)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error

Does anyone knows about this?

Product Version: UE 4.10
more ▼

asked Feb 03 '16 at 03:17 PM in Packaging & Deployment

avatar image

46 3 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I resolved the problem... Looks like for some reason it was using a png file for a splash screen that I changed, even with default setting it doesn't run so I had to make a new project and copy all the content + source files and it worked

more ▼

answered Feb 03 '16 at 07:24 PM

avatar image

46 3 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question