Can't build UE 4.11 for Android

Hello. Can;t run my aplication on Android defice.
Build failed:

Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Users\eyfel\Documents\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development   -remoteini="C:\Users\eyfel\Documents\Unreal Projects\MysteryDungeon" -noxge -NoHotReloadFromIDE -ignorejunk. 
See logfile for details: 'UnrealBuildTool-2016.01.28-20.20.40.txt'
LogPlayLevel:    в AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:строка 800
LogPlayLevel:    в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:строка 52
LogPlayLevel:    в 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) в C:\Users\eyfel\Documents\Unr
ealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:строка 346
LogPlayLevel:    в AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\Automation
Tool\AutomationUtils\UE4Build.cs:строка 1422
LogPlayLevel:    в Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) в c:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:строка 146
LogPlayLevel:    в BuildCookRun.DoBuildCookRun(ProjectParams Params) в c:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:строка 211
LogPlayLevel:    в AutomationTool.BuildCommand.Execute() в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:строка 28
LogPlayLevel:    в AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 539
LogPlayLevel:    в AutomationTool.Automation.Process(String[] CommandLine) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 510
LogPlayLevel:    в AutomationTool.Program.MainProc(Object Param) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:строка 131
LogPlayLevel:    в AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:строка 704
LogPlayLevel:    в AutomationTool.Program.Main() в C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:строка 54
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: AutomationToolLauncher exiting with ExitCode=5
LogPlayLevel: copying UAT log files...
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1198.264829
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error

And detailed information (small piece):

C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe: error: cannot find -lvorbisfile
C:/NVPACK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld.gold.exe: error: cannot find -lgpg
C:\Users\eyfel\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform/GenericPlatformMisc.cpp:913: error: undefined reference to 'icu_53::Locale::getDefault()'

link text

Maybe somebody get thid before?

It seems that you didn´t install the Android Works completly. Install that and ve sure Visual Studio 2015 is up to date.

Mostly those erros are resolved updating or installing both.

I just install it and VS 2015 to. Install all except NSight Tegra, Vusail Studio Components - becasue it’s needed 2013 VS, but i have only 2015. All other install fully.

Hello Forn. I think you need to install the NSight Tegra, NVPACK from the android works must be installed too to pack to android

For fix this i do the next steps. Maybe somebody need this:

  1. Run Setup.bat --all
  2. Run GenerateProjectFiles.bat
  3. Rebuild project

I think that after update from GIT it’s not always time update dependence.

thanks, it helps , don’t know why setup not including android dependency any more