x

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"

Building for android fails (4.8)

Building for android on 4.8 is failing....

LogPlayLevel: UnrealBuildTool: BUILD FAILED LogPlayLevel: UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:962: The following error occurred while executing this line: LogPlayLevel: UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:973: The following error occurred while executing this line: LogPlayLevel: UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:312: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 14/05/12 18:30 LogPlayLevel: UnrealBuildTool: at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:285) LogPlayLevel: UnrealBuildTool: at com.android.sdklib.build.ApkBuilder.(ApkBuilder.java:392) LogPlayLevel: UnrealBuildTool: at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) LogPlayLevel: UnrealBuildTool: at com.android.ant.IfElseTask.execute(IfElseTask.java:124) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) LogPlayLevel: UnrealBuildTool: at com.android.ant.IfElseTask.execute(IfElseTask.java:124) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) LogPlayLevel: UnrealBuildTool: at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) LogPlayLevel: UnrealBuildTool: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) LogPlayLevel: UnrealBuildTool: at java.lang.reflect.Method.invoke(Method.java:597) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Task.perform(Task.java:348) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Target.execute(Target.java:390) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Target.performTasks(Target.java:411) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Project.executeTarget(Project.java:1368) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Project.executeTargets(Project.java:1251) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Main.runBuild(Main.java:809) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.Main.startAnt(Main.java:217) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) LogPlayLevel: UnrealBuildTool: at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) LogPlayLevel: UnrealBuildTool: LogPlayLevel: UnrealBuildTool: Total time: 1 minute 16 seconds LogPlayLevel: UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug LogPlayLevel: CommandUtils.Run: Run: Took 304.8484364s to run UnrealBuildTool.exe, ExitCode=5 LogPlayLevel: ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:5): C:\Program Files\Epic Games\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Office_test Android Development "C:\Users\andrew\Documents\Unreal Projects\Office_test\Office_test.uproject" -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool.txt' LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: LogPlayLevel: Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:5): C:\Program Files\Epic Games\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Office_test Android Development "C:\Users\andrew\Documents\Unreal Projects\Office_test\Office_test.uproject" -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool.txt' LogPlayLevel: Stacktrace: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) LogPlayLevel: 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) LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary`2 PlatformEnvVars) LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) LogPlayLevel: at BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) LogPlayLevel: at AutomationTool.Automation.Process(String[] CommandLine) LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) LogPlayLevel: at AutomationTool.Program.Main() LogPlayLevel: Program.Main: ERROR: Command failed (Result:5): C:\Program Files\Epic Games\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Office_test Android Development "C:\Users\andrew\Documents\Unreal Projects\Office_test\Office_test.uproject" -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool.txt' LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 LogPlayLevel: Domain_ProcessExit LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: copying UAT log files... LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully. LogPlayLevel: Completed Launch On Stage: Build Task, Time: 316.672696 LogPlayLevel: BUILD FAILED PackagingResults:Error: Error Launch failed! Unknown Error

Product Version: UE 4.8
Tags:
more ▼

asked Jun 14 '15 at 09:30 AM in Packaging & Deployment

avatar image

w_jones
136 6 11 18

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

2 answers: sort voted first

Turns out it was an out dated certificate in

     <user profile>.android/debug.keystore


Delete the key, and re-launch on the android device

more ▼

answered Jun 17 '15 at 04:56 PM

avatar image

w_jones
136 6 11 18

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

Turns out it was an out dated certificate in

     <user profile>.android/debug.keystore


Delete the key, and re-launch on the android device

more ▼

answered Jun 17 '15 at 04:56 PM

avatar image

w_jones
136 6 11 18

(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