Can't package for android (rungradle.bat error)

Sure, you have to delete that file and in some cases the entire “gradle” and even all the “Android” and “Intermediate” folder, it worked for me. Sometimes I just delete the .bat file and it works but sometimes I have to delete all the “Intermediate” folder and subfolders and let ue4 redo it again…
Just try deleting .bat, package, if it doesn’t work, delete “gradle” folder, then “Android” and the, if it doesn’st works, “Intermediate”.

Good luck! Hope it works for you.