react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Could not connect to development server. Ensure that the packager server is running

Open wangarhat opened this issue 10 years ago • 2 comments

I run the AwesomeProject on linux and run the android simulator, an error occurs:

screenshot from 2016-06-13 15-21-44

why the packager server is not started automatically?

wangarhat avatar Jun 13 '16 07:06 wangarhat

make sure that in your project root, you do react-native start to start the packager.

that will spin up the server, and then you can just click reload JS. the steps to start are as follows:

  1. react-native start
  2. react-native run-android

281330 avatar Jun 13 '16 12:06 281330

@281330 it works, thanks

wangarhat avatar Jun 22 '16 05:06 wangarhat