ERROR: cmd.exe failed with args Gradle

Kwixb
Sat, 06 Jun 2020 20:43:24 +0000
Platform & Builds

Hello, I am running into a weird error when I try to build out my game to Android (ASTC) for Oculus Quest.

UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c "S:\Unreal Projects\[GAME]\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug UATHelper: Packaging (Android (ASTC)): Took 29.906301s to run UnrealBuildTool.exe, ExitCode=5 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\kenda\AppData\Roaming\Unreal Engine\AutomationTool\Logs\S+Program+Files+Epic+Games+UE_4.24\UBT-[GAME]-Android-Shipping.txt) UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=5 (5) UATHelper: Packaging (Android (ASTC)): BUILD FAILED PackagingResults: Error: cmd.exe failed with args /c "S:\Unreal Projects\[GAME]\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug PackagingResults: Error: Unknown Error

Things to note:

I have already tried reinstalling Android Codeworks

I have already accepted the SDK license

I was able to successfully make a build using the same settings in a blank project

Android Studio is already installed

I’ve cleared the cache in my user folder

Right now, I am not sure what else to do. So help would be greatly appreciated!

Also, here are my apk settings.

18 posts - 14 participants