ERROR: cmd.exe failed with args

hi im triying to compile my game to android i set up everything and when i try to export my game this error happens UATHelper: Empaquetado (Android (ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\sonic\Documents\Unreal Projects\RebGameplay\Intermediate\Android\APK\gradle\rungradle.bat” :app:assembleDebug
im using unreal engine 4.24

i think you might be using the wrong version of android sdk or ndk.
4.24 i think uses an older android studio that’s very annoying (nvidia works ??)