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 ?
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-androidworked fine after that.

Comments
Post a Comment