have you installed all needed for packaging in android?
If so try delete C:\Users\abc\OneDrive\Documents\Unreal Projects\sz0808b_mobile\Intermediate\Android\armv7\gradle\ folder and try again.
if not follow this video to install the needed stuff:
I am on UE5 and running into the same error:
ERROR: cmd.exe failed with args /c
I have 8 maps in total, when I have any 2 maps only it work perfictly. once add more it show this error. I have done all UE documentations youtube videos etc etc no solution yet!
Try going into:
\PROJECTFOLDER\Intermediate\Android\arm64\ and delete the “gradle” folder.
Close editor, Rebuild the visual studio solution for the project and Try packaging the game again.