RunUAT.bat ERROR: AutomationTool was unable to run successfully

If I launch it directly on my android device it works, but still not when packaging.