Program.Main: ERROR: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug

When i build the project in the mode turns Shipping error:

link textProgram.Main: ERROR: ERROR: cmd.exe failed with args / c “C: /NVPACK/apache-ant-1.8.2/bin/ant.bat” debug.

I installed: Visual Studio 2013, all tools SDK mamager. Version Unreal 4.8

Sorry for the my English is not my native language.

In version 4.6 build was successful

Hi BlackSailsCMP,

Are you using binary or source for your engine? Are you able to package anything, for instance the Tappy Chicken project from the Learn tab of the launcher? Can you try packaging Tappy for development and ETC1 and posting the output logs here regardless of whether it succeeds or fails?

Are you using the native Android SDK or the recommended TADP tools from the documentation?

Thanks!

Hi, wittlief !

I did not manage to build a blank project or Tappy Chicken if I chose Shipping and for distribution, but if you choose to development, the building well.

I can not to build etk1, all and other.

In version 4.6 I can build projects even with the Shipping and for distribution.

I use a binary engine.

I use TADP this location: “D:\UnrealEngine4\Epic Games\4.8\Engine\Extras\Android\tadp-2.0r8-windows”

Output logs Tappy Chicken : link text

Hi BlackSailsCMP,

The relevant error you’re seeing is this:

C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1135: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1147: C:\Users????\Documents\Unreal Projects\TappyChicken\Intermediate\Android\APK\UE.keystore

Here is a forums thread with instructions on how to fix that.

Good luck!

Try this one: Android packaging build fail - UE 4.18 - Mobile - Unreal Engine Forums

(Enable Gradle instead of Ant)

OR

I tried this and worked:

Thank You so Much It Works .
Really Helpfull

Thanks man, the uncheck “For Distribution” and check “For Rebuild” worked!

Ya but doesn’t for distribution have some kinda significant use that might do something bad to you while your sleeping.

You can’t ship to google play store without (for distribution). Besides it doesn’t work.

MY ERROR. UATHelper: Packaging (Android (ETC1)): ERROR: cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” release -Djava.source=1.7 -Djava.target=1.7

did you fix it?

Hi, I get the same error, could you fix it?

yes was a line of VAREST plug in was in a incorrect place

Where I do find “Enable gradle instead of ANTS”?