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"

Packaging project for Android(all) build fail

What do I have to do with this? This is where the problem is it seems.

MainFrameActions: Packaging (Android (All)): BUILD FAILED MainFrameActions: Packaging (Android (All)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:542: Application package '!' must have a minimum of 2 segments. MainFrameActions: Packaging (Android (All)): Total time: 1 second 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 UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:\NVPACK\apache-ant-1.8.2/bin/ant.bat" debug MainFrameActions: Packaging (Android (All)): Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) MainFrameActions: Packaging (Android (All)): at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk) MainFrameActions: Packaging (Android (All)): at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy) MainFrameActions: Packaging (Android (All)): at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) MainFrameActions: Packaging (Android (All)): at Project.Package(ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Android (All)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (All)): at BuildCommand.Execute() MainFrameActions: Packaging (Android (All)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) MainFrameActions: Packaging (Android (All)): at AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Android (All)): at AutomationTool.Program.MainProc(Object Param) MainFrameActions: Packaging (Android (All)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) MainFrameActions: Packaging (Android (All)): at AutomationTool.Program.Main() MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: ERROR: cmd.exe failed with args /c "C:\NVPACK\apache-ant-1.8.2/bin/ant.bat" debug MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 MainFrameActions: Packaging (Android (All)): Domain_ProcessExit MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes. 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 LogSavePackage: Save=203.426804ms LogSavePackage: Moving '../../../../../../Users/__/Documents/Unreal Projects/Platformer/Saved/MainMenuD82DC25D4B2FB59B6B52BE87EBCCAEBD.tmp' to '../../../../../../Users/BaileyRoseMc/Documents/Unreal Projects/Platformer/Content/2DSideScrollerBP/Maps/MainMenu.umap' MainFrameActions: Packaging (Android (ETC1)): Running AutomationTool... MainFrameActions: Packaging (Android (ETC1)): Program.Main: Running on WindowsHostPlatform MainFrameActions: Packaging (Android (ETC1)): Program.Main: CWD=C:\Program Files\Epic Games\4.8\Engine\Binaries\DotNET MainFrameActions: Packaging (Android (ETC1)): InternalUtils.RunSingleInstance: WARNING: Another instance of C:\Program Files\Epic Games\4.8\Engine\Binaries\DotNET\AutomationTool.exe is already running. Waiting until it exists.

Product Version: UE 4.8
Tags:
more ▼

asked Mar 03 '16 at 02:01 AM in Packaging & Deployment

avatar image

Denathorn
35 6 13 17

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

1 answer: sort voted first

Hello,

Did you close the editor at any point during packaging? Try restarting your PC and then attempting to package again. Let me know what if that makes a difference.

more ▼

answered Mar 03 '16 at 07:32 PM

avatar image

Sean L ♦♦ STAFF
43.7k 485 152 440

avatar image Denathorn Mar 04 '16 at 06:02 PM

No, I didn't close the editor, and I have restarted my pc, it is still doing it. I did end up fixing the first few build fail problems, but I still have problems on different lines.

avatar image Sean L ♦♦ STAFF Mar 07 '16 at 02:47 PM

Are you able to package for any other platforms?

Have you attempted to package a project in a newer engine version, such as 4.9 or 4.10?

avatar image Denathorn Mar 07 '16 at 05:28 PM

I should've said so sooner, I got it fixed! It sucked - I had about 7 different reasons why it failed, but now I've got it.

avatar image AshesBurnBlack Mar 08 '16 at 03:38 AM

You should list how you solved it! :)

avatar image Denathorn Mar 09 '16 at 11:07 PM

I deleted the "intermediate" "saved" and "config" files from the project folder, and that worked fine. Also, I had an incorrect version of Java.

(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