ERROR: cmd.exe failed with args

Hi. I’m trying to package now, but the following error occurred.

UATHelper: 패키징 (Android (멀티:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “G:\unreal\TEST2\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
UATHelper: 패키징 (Android (멀티:ASTC,DXT,ETC2)): (see C:\Users\jinsu\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\Log.txt for full exception trace)
PackagingResults: Error: cmd.exe failed with args /c “G:\unreal\TEST2\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
UATHelper: 패키징 (Android (멀티:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: 패키징 (Android (멀티:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error

There was no other error. so, I tried to run Android.bat because I was told to download the Android SDK build tool, but it didn’t work.

I tried to do this at C:\Users\Username\Documents\AndroidStudio\tools\bin\sdkmanager.bat

The following message occurs.

345018-kakaotalk-20210728-190821234.png

This problem is not building at all. How can we solve this?