0
votes

This is a react-native installation issue:

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

C:\Users\eshas\AwesomeProject>react-native run-android

1
run chmod 755 android/gradlew inside your app root folder then run react-native run-androidNooruddin Lakhani

1 Answers

0
votes

You need to install AndroidStudio and Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.