UE4.25.0 Could not initialize class org.codehaus.groovy.reflection.ReflectionCache

In project settings => android. Try to set only x64.