简体   繁体   中英

Error : react-native-vector-icons:compileDebugJavaWithJavac'. React-Native

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.

  • What went wrong: Execution failed for task ':react-native-vector-icons:compileDebugJavaWithJavac'.

    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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM