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"

Nightmers starting: BUILD FAILED packaging for Android shipping-production

I was so happy and motivated learning UE4 in less than 10 days, full-time, then making my first 2D mobile game with Blueprints (I have a backround of OOP programming and 3D modelling/animaiton )

Everything fine with my gameplay and graphics until I decide to test an alpha version on Google Play. First the huge file size >100mb when I only use 3 textures; and more than 10 unanswered questions here about build file size that seems no one like to answer.

Google Play doesn't allow >50bm for a single .apk then I had to generate separated .OBB that never I could upload, because:

When I uplaod it says mine is a debugger version, I need to check shipping option and production in Project settings, when I did... boom... BUILD FAILED every-time. What I though would be easy is becoming painful every time.

version: 4.6.1 binary only

some last lines of the cooking log: MainFrameActions: Packaging (Android (ETC1)): [javac] 12 warnings MainFrameActions: Packaging (Android (ETC1)): [proguard] You should check if you need to specify additional program jars. MainFrameActions: Packaging (Android (ETC1)): [proguard] Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [classes.jar:META-INF/MANIFEST.MF]) MainFrameActions: Packaging (Android (ETC1)): [proguard] Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [android-support-v4.jar:META-INF/MANIFEST.MF]) MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1139: The following error occurred while executing this line: MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1151: F:_pxUnreal\Projects\Bolicaco\ue460prj\Bolicaco03\Intermediate\Android\APK\REPLACE WITH KEYSTORE FILE PATH (The system cannot find the file specified) MainFrameActions: Packaging (Android (ETC1)): Total time: 2 minutes 29 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" -quiet release MainFrameActions: Packaging (Android (ETC1)): Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDire MainFrameActions: Packaging (Android (ETC1)): ctory, 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) MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor) 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(MainProc Main, Object Param) MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Program.Main() MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: ERROR: cmd.exe failed with args /c "C:\NVPACK\apache-ant-1.8.2/bin/ant.bat" -quiet release MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=1 MainFrameActions: Packaging (Android (ETC1)): Domain_ProcessExit MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes. 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

Product Version: Not Selected
Tags:
more ▼

asked Dec 19 '14 at 04:27 AM in Bug Reports

avatar image

piXelicidio
699 32 37 151

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

1 answer: sort voted first

I found myself the fix for the BUILD FAILED, is related to digital key needed. Documented here: https://answers.unrealengine.com/questions/149682/461-shipping-build-failed-for-android.html

more ▼

answered Dec 19 '14 at 08:04 PM

avatar image

piXelicidio
699 32 37 151

avatar image [Epic] Gribbs ♦♦ STAFF Dec 19 '14 at 08:14 PM

Glad to hear that you got the error fixed. Have a great day!

(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