سلام روز بخیر ، شبیه ساز رو که میخوام اجرات کنم بهم ارور میده .
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 863 file(s) to forward-jetify. Using 8 workers...
info JS server already running.
'adb' is not recognized as an internal or external command,
operable program or batch file.
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 (D:\\projects\\ReactNativeProject1\\Hello\\node_modules\\execa\\index.js:174:9)
at D:\\projects\\ReactNativeProject1\\Hello\\node_modules\\execa\\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async runOnAllDevices (D:\\projects\\ReactNativeProject1\\Hello\\node_modules\\@react-native-community\\cli-platform-android\\build\\commands\\runAndroid\\runOnAllDevices.js:109:5)
at async Command.handleAction (D:\\projects\\ReactNativeProject1\\Hello\\node_modules\\react-native\\node_modules\\@react-native-community\\cli\\build\\index.js:192:9)
info Run CLI with --verbose flag for more details.