FAILURE: Build failed with an exception.
What went wrong: A problem occurred
configuring project \':app\'.
WINDOWS INSTRUCTIONS: To update your JAVA_HOME Environment Variable:
View Advanced System Settings
,missing JDK 1.8.0?
- Google "download Java JDK" and download it from oracle.com
Cleanup Phase: Press OK, OK, OK, OK
RESTART THE COMMAND PROMPT (if you encounter any issue now, try running Command Prompt as Administrator => right click, run as admin)
Now, try again (in the correct folder):
react-native run-android