Download

Trying to build to android gives me error, help please...

I followed all the steps properly “I think” for setting up android builds, but I get this error…
Any help would be really appreciated.


UATHelper: Packaging (Android (ETC2)): ====6/22/2017 11:47:49 AM====PREPARING TO MAKE APK=================================================================
UATHelper: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
UATHelper: Packaging (Android (ETC2)):    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
UATHelper: Packaging (Android (ETC2)):    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
UATHelper: Packaging (Android (ETC2)):    at UnrealBuildTool.UEDeployAndroid.GetLatestSDKApiLevel(AndroidToolChain ToolChain)
UATHelper: Packaging (Android (ETC2)):    at UnrealBuildTool.UEDeployAndroid.GetSdkApiLevel(AndroidToolChain ToolChain)
UATHelper: Packaging (Android (ETC2)):    at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExte
rnalFilesDir)
UATHelper: Packaging (Android (ETC2)):    at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
UATHelper: Packaging (Android (ETC2)):    at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
UATHelper: Packaging (Android (ETC2)):    at Project.Package(ProjectParams Params, Int32 WorkingCL)
UATHelper: Packaging (Android (ETC2)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Android (ETC2)):    at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Program.Main()
UATHelper: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults:Error: Error Unknown Error 

if you search for “System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified” on these forums you find a few threads

this one looks like it might help you

Ran into a very similar problem a few weeks ago…

They really need to fix that documentation, I assumed that Adnroid SDK version they were asking us to download was LAW! :frowning: