victorkvarghese / react-native-boilerplate

🚀 Type Based Architecture for developing React Native Apps using react, redux, sagas and hooks with auth flow
MIT License
605 stars 207 forks source link

error Failed to install the app. #14

Closed Ladvace closed 4 years ago

Ladvace commented 4 years ago

when I try to run the app with react-native run-android the output is:

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.bat app:installDebug -PreactNativeDevServerPort=8081
victorkvarghese commented 4 years ago

@Ladvace Make sure your development environment is setup. Also for android, you can try using Android studio.

if command line make sure dependencies are installed and SDK location is defined on android/local.properties (This is taken care automatically while using android studio)