Answer the question
In order to leave comments, you need to log in
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.
warn Failed to connect to development server using "adb reverse": spawnSync adb ENOENTnot even an error,
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question