I'm doing a native app for the first time. I correctly configured all the environment variables, installed JDK 11, installed Chocolatey, did everything correctly, but is not running on the emulator or usb device. Could someone help with that?
(node:23364) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
info JS server already running.
'"adb"' n�o � reconhecido como um comando interno
ou externo, um programa oper�vel ou um arquivo em lotes.
info Launching emulator...
error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
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
at makeError (C:\Users\ana.tomaz\Downloads\AppVanzeiro\node_modules\execa\index.js:174:9)
at C:\Users\ana.tomaz\Downloads\AppVanzeiro\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\Users\ana.tomaz\Downloads\AppVanzeiro\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\ana.tomaz\Downloads\AppVanzeiro\node_modules\@react-native-community\cli\build\index.js:142:9)
info Run CLI with --verbose flag for more details