This helped me: Unreal 5.1 package project for Android error org.codehaus.groovy.vmplugin.v7.Java7 and java.lang.UnsupportedClassVersionError
I had to uninstall my Android studio and get the 4.0 one and use its JRE
You can ignore the part about editing the bat file since you are on 5.3