React Native: Could not find tools.jar

* What went wrong:
Execution failed for task ‘:app:compileDebugJavaWithJavac’.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_161 contains a valid JDK installation.

Solution:

Setting the missing “JAVA_HOME” system environment variable worked for me.

Press WIN+Pause on keyboard.
Click advanced system settings.
Click “Environment variables”.
Click “New” under “System variables”.
Type “JAVA_HOME” in the Variable name field.
Type the path to the JDK in the Value field. For me the correct path with short filename was “C:\PROGRA~1\Java\jdk1.8.0_66”. Your path will vary depending on the installed version.
Click OK, and OK in previous window too.
Restart any command prompts or restart the computer.
react-native run-android worked fine after that.

https://stackoverflow.com/questions/35278283/could-not-find-tools-jar-react-native-android-in-windows-10

ReactNative info

Get started with React Native and Expo in minutes: https://matwrites.com/get-started-react-native-expo-minutes/

Mobile app development using React Native: https://www.youtube.com/watch?v=JbaZs1dzsVo

react-native tutorial : https://www.youtube.com/playlist?list=PL8p2I9GklV44z6euF3nqS0TlKbaGiFUGO&disable_polymer=true

Learning React Native: http://www.reactnativeexpress.com/

Manual Click button: TouchableOpacity : http://facebook.github.io/react-native/docs/touchableopacity.html

Fullscreen Background Image in React Native: https://kylewbanks.com/blog/fullscreen-background-image-in-react-native

Developing Multi-Slider-Switch in React Native: https://medium.com/@victorvarghese/developing-multi-slider-switch-in-react-native-a15b83b29828

Windows 10 kékhalál

defrag: dfr

https://www.youtube.com/watch?v=uHQdqV6mOzU

This is about the most unhelpful thing I’ve ever gotten off the net. I understand you want to sell me the Pro version. That’s no excuse for the lack of information regarding how to use the free version.

Now I have to go uninstall the crap program you’ve given me and try elsewhere

A Driver Easy haszontalan. Az Eszközkezelő a legfrissebbnek mondja a drivert.

https://www.drivereasy.com/knowledge/fix-machine-check-exception/

Így lehetnek a legegyszerűbben fittek az illesztőprogramjai : http://hvg.hu/tudomany/20121101_Igy_lehetnek_a_legegyszerubben_fittek_az_