every time i start a new RN project and start to run the android emulator it shows this error :
Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with –verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Could not write standard input to Gradle build daemon.
I did everything and nothing seems to work!
Android studio is installed and you have an emulator or device started ?
Screenshoot of the error ?
What gives the command :
adb devices
?I restarted my emulator and when i do
adb devices
it shows that it recognized and connectedhttps://i.stack.imgur.com/lw3PM.png