info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 946 file(s) to forward-jetify. Using 4 workers... info JS server already running. info Installing the app...
FAILURE: Build failed with an exception.
What went wrong: The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk-17.0.4\bin\java.exe
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
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
What went wrong: The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk-17.0.4\bin\java.exe
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
at makeError (C:\Users\mv991\OneDrive\Área de Trabalho\Curso\React\app1\node_modules\execa\index.js:174:9) at C:\Users\mv991\OneDrive\Área de Trabalho\Curso\React\app1\node_modules\execa\index.js:278:16 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async runOnAllDevices (C:\Users\mv991\OneDrive\Área de Trabalho\Curso\React\app1\node_modules@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5) at async Command.handleAction (C:\Users\mv991\OneDrive\Área de Trabalho\Curso\React\app1\node_modules@react-native-community\cli\build\index.js:192:9) info Run CLI with --verbose flag for more details.