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"

Unknown error building Android ETC1

Build fails pretty early on, not sure what's really causing it, help please!

 UATHelper: Packaging (Android (ETC1)): Running AutomationTool...
 UATHelper: Packaging (Android (ETC1)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/leown/Documents/Unreal Projects/ButterflyEffect/ButterflyEffect.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/Users/leown/Documents/Unreal Projects/ButterflyEffect/ButterflyEffect.uproject" -cook -stage -ar
 chive -archivedirectory="C:/Users/leown/Documents/Unreal Projects/ButterflyEffect/Exports" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ETC1 -build -CrashReporter -utf8output
 UATHelper: Packaging (Android (ETC1)): Automation.Process: Setting up command environment.
 UATHelper: Packaging (Android (ETC1)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\leown\Documents\Unreal Projects\ButterflyEffect\ButterflyEffect.uproject
 UATHelper: Packaging (Android (ETC1)): Project.Build: ********** BUILD COMMAND STARTED **********
 UATHelper: Packaging (Android (ETC1)): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe ButterflyEffect Android Development -Project="C:\Users\leown\Documents\Unreal Projects\ButterflyEffect\ButterflyEffect.uproject"  "C:\Users\leown\Documents\Unreal Projects\ButterflyEffect\ButterflyEffect.uproject"  -rem
 oteini="C:\Users\leown\Documents\Unreal Projects\ButterflyEffect" -noxge -generatemanifest -NoHotReload
 UATHelper: Packaging (Android (ETC1)): UnrealBuildTool: NDK version: 23, GccVersion: 4.9
 UATHelper: Packaging (Android (ETC1)): UnrealBuildTool: ERROR: Attempted to use UEBuildBinaryConfiguration.OutputFilePath property, but there are multiple (or no) OutputFilePaths. You need to handle multiple in the code that called this (size = 2)
 UATHelper: Packaging (Android (ETC1)): CommandUtils.Run: Run: Took 1.4284519s to run UnrealBuildTool.exe, ExitCode=5
 UATHelper: Packaging (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe ButterflyEffect Android Development -Project="C:\Users\leown\Documents\Unreal Projects\ButterflyEffe
 ct\ButterflyEffect.uproject"  "C:\Users\leown\Documents\Unreal Projects\ButterflyEffect\ButterflyEffect.uproject"  -remoteini="C:\Users\leown\Documents\Unreal Projects\ButterflyEffect" -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2017.05.22-21.10.18.txt' 
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Android (ETC1)):    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)
 UATHelper: Packaging (Android (ETC1)):    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)
 UATHelper: Packaging (Android (ETC1)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 UATHelper: Packaging (Android (ETC1)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 UATHelper: Packaging (Android (ETC1)):    at BuildCookRun.ExecuteBuild()
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.Automation.Process(String[] Arguments)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.Program.MainProc(Object Param)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 UATHelper: Packaging (Android (ETC1)):    at AutomationTool.Program.Main()
 UATHelper: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 UATHelper: Packaging (Android (ETC1)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error
Product Version: UE 4.13
Tags:
more ▼

asked May 22 '17 at 10:27 AM in Packaging & Deployment

avatar image

Partick
1 1 1

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

1 answer: sort voted first

Try this thread. Looks like you may be set up to build more than one android package at a time. You either need to provide the output paths for each or only enable one android package. https://forums.unrealengine.com/showthread.php?114994-Error-Building-for-android-on-4-12

more ▼

answered May 22 '17 at 07:22 PM

avatar image

Jin_VE
4.3k 31 77 40

avatar image Jin_VE May 22 '17 at 07:32 PM

Yeah, see if both arm7 and arm64 are enabled. Try disabling arm64.

avatar image Partick May 23 '17 at 07:57 AM

Ahh, yeah arm64 was enabled, turning it off fixed it, thanks for your help!

(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