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 code example
Example: what is error make sure you have android development environment set up
use the below code :
react-native start --reset-cache