Unable to run react native project due to java version 10
Downgrade the Java version. This is a problem with the latest version of java.
You need a change in the Android
Gradle properties file.
PROJECT_PATH/android/gradle/wrapper/gradle-wrapper.properties
Update your distributionUrl to the following
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-rc-2-all.zip