Alguém pode me ajudar? Estou tentando rodar meu projeto do React Native, mas ele apresenta a seguinte mensagens de erro no dos: FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
Could not find tools.jar. Please check that C:\Program Files (x86)\Java\jre1.8 .0_181 contains a valid JDK installation.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 3m 9s
error Failed to install the app. Make sure you have the Android development envi ronment set up: https://facebook.github.io/react-native/docs/getting-started.htm l#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8 081