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"

[Closed] Runbat Error: Ant.bat

Hello,

So I'm having some issues with packaging my project. First off, yes I read similar posts, yet they didn't help me.

 MainFrameActions: Packaging (Android (ETC1)):     [javac]   symbol:   variable HttpClientParams
 MainFrameActions: Packaging (Android (ETC1)):     [javac]   location: class AndroidHttpClient
 MainFrameActions: Packaging (Android (ETC1)):     [javac] Note: Some input files use or override a deprecated API.
 MainFrameActions: Packaging (Android (ETC1)):     [javac] Note: Recompile with -Xlint:deprecation for details.
 MainFrameActions: Packaging (Android (ETC1)):     [javac] 100 errors
 MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED
 MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:716: The following error occurred while executing this line:
 MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
 MainFrameActions: Packaging (Android (ETC1)): Total time: 22 seconds
 MainFrameActions: Packaging (Android (ETC1)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" release
 MainFrameActions: Packaging (Android (ETC1)): Stacktrace:    at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
 MainFrameActions: Packaging (Android (ETC1)):    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 (ETC1)):    at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
 MainFrameActions: Packaging (Android (ETC1)):    at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
 MainFrameActions: Packaging (Android (ETC1)):    at Project.Package(ProjectParams Params, Int32 WorkingCL)
 MainFrameActions: Packaging (Android (ETC1)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 MainFrameActions: Packaging (Android (ETC1)):    at BuildCommand.Execute()
 MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Automation.Process(String[] CommandLine)
 MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Program.MainProc(Object Param)
 MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
 MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Program.Main()
 MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
 MainFrameActions: Packaging (Android (ETC1)): Domain_ProcessExit
 MainFrameActions: Packaging (Android (ETC1)): copying UAT log files...
 MainFrameActions: Packaging (Android (ETC1)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
 MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error

With this being the key part:

 MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED
 MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:716: The following error occurred while executing this line:
 MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
 MainFrameActions: Packaging (Android (ETC1)): Total time: 22 seconds
 MainFrameActions: Packaging (Android (ETC1)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" release

So here is my setup:

alt text

alt text

alt text

alt text

alt text

My Signingconfig is also setup to match the key.store name and alias.

So what I've tried until now:

  • Reinstall Androidworks, installed all the tools, reinstall visual studio 2013

  • Change location Java in setup for a shorter location

  • Checked keystore

  • Tried just shipping without distrubtion

I need some help guys

Product Version: UE 4.9
Tags:
comp01.png (89.7 kB)
comp02.png (64.7 kB)
comp03.png (130.5 kB)
comp04.png (114.1 kB)
comp05.png (42.7 kB)
more ▼

asked Nov 27 '15 at 02:46 PM in Packaging & Deployment

avatar image

Penhoat
6 4 11 15

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

The question has been closed Jul 01 '16 at 09:18 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!


0 answers: sort voted first

Follow this question

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

Answers to this question