Android packaging build fail - UE 4.18

try to uncheck “Enable gradle instead of ant” in project settings → android.