I am getting the "automation tool was unable to run successfully" error when packaging to android

same issue happened to me with UE4.10.1 today. I suspect that “ue4 Buildfile: build.xml does not exist!” tries to point me somewhere. What could be wrong?