Hi guys my name is HAKYM, and in this article I will show you how to fixed this issue you might have ran into while trying to run your react native app using the CLI. Note this also might applies to the error message below.
Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

SOLUTION
Step1:Visit gradle.org/releases/ and get the latest version number