Build failed: Exception in UnrealBuildTool

When I try to build for android I get the following error:

LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:\NVPACK\apache-ant-1.8.2/bin/ant.bat" debug

So I tried to reproduce it, and it seems I even get this problem when creating a whole new empty project.
So, the steps to reproduce are:

  • Start UE
  • Create new empty Blueprint project (mobile, no starter content, high quality)
  • Package for android / launch to android phone (Development/Shipping doesn’t matter)

I have located the ant.bat file, it’s located where the engine tells it to be so it’s not missing either.
Hope you guys can tell me what the issue is here…

If you will receive this error you have to open SDK Manager in “C:\NVPACK\android-sdk-windows” and you need to dowload all Tools. After that you can build your project

I did this, and it works. Problem solved :slight_smile: