Venky
Venky

Reputation: 2067

Not able to run React-native app on android

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.

Upvotes: 0

Views: 726

Answers (1)

alexdriedger
alexdriedger

Reputation: 3044

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.

Upvotes: 1

Related Questions