1

I'm totally new in react-native and have an Android emulator running but it doesn't build react-native & shows this error... what should i do?

FAILURE: Build failed with an exception.

BUILD FAILED in 8m 56s 1 actionable task: 1 executed error Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.

Derek Pollard
  • 6,953
  • 6
  • 39
  • 59
Maryam Alishahi
  • 382
  • 1
  • 5
  • 16

1 Answers1

3

First of all you should update your node.js Then run the installation's cammands and for Iranian it's better to use shecan.ir before running build run-android command instead of unworking vpn. I did these steps and the problem solved.

Maryam Alishahi
  • 382
  • 1
  • 5
  • 16