Why am I getting a RunUAT.bat turnkey error about Android?

Was getting this error

E:\Epic Games\UE_5.3\Engine\Build\BatchFiles>RunUAT.bat turnkey
Running AutomationTool...
Using bundled DotNet SDK version: 6.0.302
Starting AutomationTool...
Parsing command line: turnkey
Initializing script modules...
Unhandled exception: System.Exception: Script module "E:\Epic Games\UE_5.3\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Android\Android.Automation.dll" not found for record "E:\Epic Games\UE_5.3\Engine\Intermediate\ScriptModules\Android.Automation.json"
   at UnrealBuildBase.CompileScriptModule.Build(RulesFileType RulesFileType, HashSet`1 FoundProjects, IEnumerable`1 BaseDirectories, IEnumerable`1 DefineConstants, BuildFlags BuildFlags, Boolean& bBuildSuccess, Action`1 OnBuildingProjects, ILogger Logger) in E:\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\System\CompileScriptModules.cs:line 350
   at UnrealBuildBase.CompileScriptModule.InitializeScriptModules(RulesFileType RulesFileType, String ScriptsForProjectFileName, List`1 AdditionalScriptsFolders, Boolean bForceCompile, Boolean bNoCompile, Boolean bUseBuildRecords, Boolean& bBuildSuccess, Action`1 OnBuildingProjects, ILogger Logger) in E:\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\System\CompileScriptModules.cs:line 196
   at AutomationToolDriver.Program.MainProc() in E:\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\Program.cs:line 478

Fixed by going to Epic games launcher ā†’ UE ā†’ chose my version 5.3.1 then uninstalled all of the other platforms as Iā€™m not trying to develop for them

2 Likes

I had exactly the same problem.
Could solve it by reinstalling Unreal Engine 5.3.2 via Epic Launcher.

Or just add necessary Android files in engine version properties:

I had this file,but there is still this problem

If anyone else runs into this issue, I resolved it by unchecking android as a target platform in the installation options