G
G
GalileoGalileu2022-03-14 02:34:35
android studio
GalileoGalileu, 2022-03-14 02:34:35

Why doesn't the react-native-cli app start in android studio?

I need your help
I can’t run the standard react native application in the emulator from android studio. It
gives such an error (below the logs)
at first everything is fine but then


BUILD SUCCESSFUL in 35s
50 actionable tasks: 2 executed, 48 up-to-date
info Connecting to the development server...
warn Failed to connect to development server using "adb reverse": spawnSync adb ENOENT
info Starting the app...
error Failed to start the app.
Error: spawnSync adb ENOENT
at Object.spawnSync (node:internal/child_process:1111:20)
at Object.spawnSync (node:child_process:814:24)
at Function.module.exports.sync (/Users/nicole/VI/node_modules /execa/index.js:334:30)
at tryLaunchAppOnDevice (/Users/nicole/VI/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/tryLaunchAppOnDevice.js:58:22)
at /Users/nicole/VI/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:119:39
at Array.forEach ()
at runOnAllDevices(/Users/nicole/ VI/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:117:48)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Command. handleAction (/Users/nicole/VI/node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.

A search in Yandex / Google did not give anything worthwhile
, they say that
warn Failed to connect to development server using "adb reverse": spawnSync adb ENOENT
not even an error,
but then everything goes to hell

But the variables
622e7f48f2080924356889.png

I will be very happy with any hint!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question