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"

Unable to Package for Android with Automation Tool Exit Code : 5

LogSavePackage: Save=135.39ms LogSavePackage: Moving 'C:/Users/METARVRSE-R3/Documents/Unreal Projects/Android360/Saved/UEDPCMainMenuC87E54D04A4887596A3512B7603C8949.tmp' to 'C:/Users/METARVRSE-R3/Documents/Unreal Projects/Android360/Saved/Autosaves/Game/ThirdPersonBP/Maps/UEDPCMainMenu.umap' LogSavePackage:Display: Finished SavePackage C:/Users/METARVRSE-R3/Documents/Unreal Projects/Android360/Saved/Autosaves/Game/ThirdPersonBP/Maps/UEDPCMainMenu.umap LogEditorTransaction: Undo Spawn Play From Here Start UATHelper: Packaging (Android (ASTC)): Running AutomationTool... UATHelper: Packaging (Android (ASTC)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/METARVRSE-R3/Documents/Unreal Projects/Android360/Android360.uproject" BuildCookRun -nocompileeditor -nop4 -project="C:/Users/METARVRSE-R3/Documents/Unreal Projects/Android360/ UATHelper: Packaging (Android (ASTC)): Android360.uproject" -cook -stage -archive -archivedirectory=C:/Users/METARVRSE-R3/Desktop -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ASTC -build -CrashReporter -utf8output -compile UATHelper: Packaging (Android (ASTC)): Automation.Process: Setting up command environment. UATHelper: Packaging (Android (ASTC)): ScriptCompiler.FindAndCompileScriptModules: Compiling scripts. UATHelper: Packaging (Android (ASTC)): MSBuild: DotNETUtilities -> E:\UnrealEngine-release\Engine\Binaries\DotNET\DotNETUtilities.dll UATHelper: Packaging (Android (ASTC)): MSBuild: UnrealBuildTool -> E:\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe UATHelper: Packaging (Android (ASTC)): MSBuild: AutomationUtils.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationUtils.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: AllDesktop.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: GUBP.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\GUBP.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: Localization.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: OneSkyLocalization.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: AutomationScripts.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: Android.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: BuildGraph.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: HTML5.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: IOS.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: Linux.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: Mac.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: TVOS.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: Win.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll UATHelper: Packaging (Android (ASTC)): MSBuild: XLocLocalization.Automation -> E:\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 5.5009807s to run MSBuild.exe, ExitCode=0 UATHelper: Packaging (Android (ASTC)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\METARVRSE-R3\Documents\Unreal Projects\Android360\Android360.uproject UATHelper: Packaging (Android (ASTC)): Project.Build: BUILD COMMAND STARTED UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe E:/UnrealEngine-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:minimal /nologo /target:Rebuild /property:Configuration=Development /property:Platform=AnyCPU UATHelper: Packaging (Android (ASTC)): MSBuild: DotNETUtilities -> E:\UnrealEngine-release\Engine\Binaries\DotNET\DotNETUtilities.dll UATHelper: Packaging (Android (ASTC)): MSBuild: UnrealBuildTool -> E:\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 2.5088177s to run MSBuild.exe, ExitCode=0 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: E:\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="C:\Users\METARVRSE-R3\Documents\Unreal Projects\Android360" -noxge -generatemanifest -NoHotReload UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: building WITHOUT VULKAN define UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 3.2594133s to run UnrealBuildTool.exe, ExitCode=0 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: E:\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="C:\Users\METARVRSE-R3\Documents\Unreal Projects\Android360" -noxge -NoHotReload -ignorejunk UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Creating makefile for UE4Game (UnrealBuildTool.exe is newer) UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: building WITHOUT VULKAN define UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Compiling Native code with NDK API 'android-24' UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Target is up to date UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: NDK version: 24, GccVersion: 4.9 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Receipt Filename: E:\UnrealEngine-release\Engine\Binaries\Android\UE4Game.target UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UPL: ..\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ====31-01-2017 11:08:23====PREPARING TO MAKE APK================================================================= UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Writing to shim file E:\UnrealEngine-release\Engine\Build\Android\src\com\epicgames\ue4\DownloadShim.java ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Shim data file up to date so not writing. ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Writing to template target file E:\UnrealEngine-release\Engine\Build\Android\src\com\YourCompany\UE4Game\AlarmReceiver.java ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Template target file up to date so not writing. ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Writing to template target file E:\UnrealEngine-release\Engine\Build\Android\src\com\YourCompany\UE4Game\DownloaderActivity.java ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Template target file up to date so not writing. ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Writing to template target file E:\UnrealEngine-release\Engine\Build\Android\src\com\YourCompany\UE4Game\OBBDownloaderService.java ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Template target file up to date so not writing. ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Cleaning up files based on template dir E:\UnrealEngine-release\Engine\Build\Android\src\com\YourCompany\UE4Game UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Building Java with SDK API level 'android-25' UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: E:\UnrealEngine-release\Engine\Binaries\Android\UE4Game-armv7-es2.apk is out of date due to newer input file E:\UnrealEngine-release\Engine\Binaries\Android\UE4Game-armv7-es2.so UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UPL Init: armeabi-v7a UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: GearVR init UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Oculus Signature Files (osig) will be removed from APK UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: On build machine. UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7) UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: bPackageDataInsideApk = False UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Added repository: C:\NVPACK\android-sdk-windows\extras\google\m2repository UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Added repository: C:\NVPACK\android-sdk-windows\extras\android\m2repository UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Added repository: ....\Engine\Source\ThirdParty\Android\extras\google\m2repository UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AARImports: com.google.android.gms, play-services-ads, 9.2.0 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AAR: Unable to find package com.google.android.gms/play-services-ads! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AARImports: com.google.android.gms, play-services-auth, 9.2.0 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AAR: Unable to find package com.google.android.gms/play-services-auth! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AARImports: com.google.android.gms, play-services-games, 9.2.0 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AAR: Unable to find package com.google.android.gms/play-services-games! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AARImports: com.google.android.gms, play-services-nearby, 9.2.0 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AAR: Unable to find package com.google.android.gms/play-services-nearby! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AARImports: com.google.android.gms, play-services-plus, 9.2.0 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: AAR: Unable to find package com.google.android.gms/play-services-plus! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Warning: Splash screen source image E:\UnrealEngine-release\Engine\Intermediate/Android/APK/res/drawable/splashscreen_landscape.png not available, splash screen will not function properly! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Warning: Downloader screen source image E:\UnrealEngine-release\Engine\Intermediate/Android/APK/res/drawable/downloadimageh.png not available, downloader screen will not function properly! UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ====31-01-2017 11:08:24====PREPARING NATIVE CODE================================================================= UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: On build machine. UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7) UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ====31-01-2017 11:08:24====UPDATING BUILD CONFIGURATION FILES==================================================== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ==== Writing new GameActivity.java file to E:\UnrealEngine-release\Engine\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ==== UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Preparing native code for debugging... UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: C:/NVPACK/android-ndk-r12b-windows-x86_64/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 10.393608s to run UnrealBuildTool.exe, ExitCode=5 UATHelper: Packaging (Android (ASTC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): E:\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="C:\Us UATHelper: Packaging (Android (ASTC)): ers\METARVRSE-R3\Documents\Unreal Projects\Android360" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.01.31-11.08.15.txt' UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 883 UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\Pr ocessUtils.cs:line 836 UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 51 UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 89 UATHelper: Packaging (Android (ASTC)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in E :\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 362 UATHelper: Packaging (Android (ASTC)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictiona ry`2 InTargetToManifest) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1460 UATHelper: Packaging (Android (ASTC)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in e:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 172 UATHelper: Packaging (Android (ASTC)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in e:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 211 UATHelper: Packaging (Android (ASTC)): at AutomationTool.BuildCommand.Execute() in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 27 UATHelper: Packaging (Android (ASTC)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 547 UATHelper: Packaging (Android (ASTC)): at AutomationTool.Automation.Process(String[] Arguments) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 517 UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.MainProc(Object Param) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\Program.cs:line 135 UATHelper: Packaging (Android (ASTC)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704 UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.Main() in E:\UnrealEngine-release\Engine\Source\Programs\AutomationTool\Program.cs:line 59 UATHelper: Packaging (Android (ASTC)): Program.Main: AutomationTool exiting with ExitCode=5 (5) UATHelper: Packaging (Android (ASTC)): BUILD FAILED PackagingResults:Error: Error Unknown Error

Product Version: UE 4.14
Tags:
more ▼

asked Jan 31 '17 at 06:53 AM in Packaging & Deployment

avatar image

armroyce
1 2 4 7

avatar image armroyce Jan 31 '17 at 05:40 AM

I installed Codeworks for android and SDK,NDK,ANT plugins. And My sdk version is 19. I try to convert project for Android ASTC.

avatar image Samantha Sutton ♦♦ STAFF Jan 31 '17 at 04:59 PM

Armroyce,

Could you please upload a screenshot of your Android SDK? Here is an example:

Android SDK

Thanks!

avatar image armroyce Feb 01 '17 at 05:33 AM

alt text

capture2.png (22.6 kB)
capture.png (67.5 kB)
avatar image Samantha Sutton ♦♦ STAFF Feb 03 '17 at 05:50 PM

You need to press the 'configure now' button for sure, and for the Google Play Services if you're using that as well. Let me see your Android SDK too.

Thanks!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Armroyce,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered Feb 07 '17 at 07:18 PM

(comments are locked)
10|2000 characters needed characters left
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