Could not find tools.jar React Native Android In windows 10 -


guys . try install react native in laptop. i've followed setup instruction stiil error .

* went wrong: execution failed task ':app:compiledebugjavawithjavac'. > not find tools.jar 

i used genymotion os version 5.1.0, i've setup environment variable android_home. idea miss here ?

sdk manager

setting missing "java_home" system environment variable worked me.

  • press win+pause on keyboard.
  • click advanced system settings.
  • click "environment variables".
  • click "new" under "system variables".
  • type "java_home" in variable name field.
  • type path jdk in value field. me correct path short filename "c:\progra~1\java\jdk1.8.0_66". path vary depending on installed version.
  • click ok, , ok in previous window too.
  • restart command prompts or restart computer.
  • react-native run-android worked fine after that.

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -