Reputation: 647
I'm new into react-native and I've cloned one repo and setup project in my system now i'm tryingto run in android.
react-native run-android
FAILURE: Build failed with an exception.
Could not find tools.jar. Please check that C:\Program Files (x86)\Java\jre1.8.0_111 contains a valid JDK installation.
I've also tried installing vector icons using below link enter link description here
Upvotes: 3
Views: 3284
Reputation: 1799
this may help you :
you should added JDK
path org.gradle.java.home=C:\ProgramFiles\Java\jdk1.8.0_161
to gradle.properties
file and rebuild your project.
Upvotes: 1