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.

1
  • It was because of internet problem . I live in Iran and unfortunately google's limited Iranian:( Commented Apr 19, 2019 at 19:28

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.