0

I have everything installed,but when i use "npm-start" or "react-native run-android",it gets stuck at Loading "Dependency Graph ,done",nothing happens after that,any inputs would be helpful,running on Windows 10.

1 Answer 1

1

Make sure you have a device connected (either emulator or physical device) by running adb devices

I usually have two command line windows open. In one window I run react-native start and in the other I run react-native run-android.

Essentially, react-native start runs a packager for your app while react-native run-android will install the app on the device. If you only run react-native run-android, a new packager should start in a new cmd window.

The packager (react-native start) is where you will see Loading dependency graph... Done.

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

2 Comments

i have a device connected,but still it gets stuck at Loading Dependancy..done,after that nothing happens
By running react-native run-android, a second cmd window should open. In the new window, you will see Loading dependency graph... Done. In the window which you ran react-native run-android, it should start installing the app onto the device. What is happening in the window which you ran react-native run-android?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.