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 m ore details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
I have gotten around this for now by opening two Android Studio's. One is located in the android studio folder for the react-native app, and the other is in the root folder for it. I then start a server using: npx react-native start in the root foldered android studio. Then I can launch the app in the other android window, and manipulate the code in the other android studios app.js. Obviously this is not ideal as I have two windows open for one application. I have tried going through the react native environment setup twice now, and same thing. Any tips!?