Trying to export to Android using 5.4.4 and getting error

Hi all, I’m trying to export to Android using 5.4.4. It seems to be setup correctly but then when I try it throws up this error.

PackagingResults: Error: Command T:\Epic Games\UE_5.4\Engine\Extras\Android\SetupAndroid.bat android-33 33.0.1 3.22.1 25.1.8937393 -noninteractive failed [Exit code 5, working dir = T:\Epic Games\UE_5.4\Engine\Extras\Android]`
  1. I’ve set my environment variables and restarted my PC
  2. My Android Studio + SDK/JDK/NDK aren’t in the usual places but I’ve edited SetupAndroid.bat to have the correct paths

Any ideas?