UE4: ERROR: cmd.exe failed with args /c "[ProjectPath]\Intermediate/Android/APK\gradle\rungradle.bat"

Hello everyone and hope you are all keeping safe.

Please I have the above error coming when I try to package to android -
ERROR: cmd.exe failed with args /c "[ProjectPath]\Intermediate/Android/APK\gradle\rungradle.bat"

which thus makes my packaging fail. Now everywhere I look for solution, it says to do certain install and enable (check) “enable grable instead of ant” under project setting - platforms - android, but this option is not present in my own project setting. Please how do I make this present or is there something else to do to enable this grable option?
Please see attached image to see a screen of what shows in my own android project setting. thank you all in anticipation

304970-no-grable.jpg

Enabling option is not present in some of the versions of unreal engine however there is a simple solution to get rid of this error… you just need to install the newer version of SDK and use its location in unreal, hopefully you can package your project without any further problems…