Unable to run React Native app on my Samsung s7

#1

Tried to create a sample project, use npm start to run the app. I connect my Samsung s7 to Mac, disabled Mac’s firewall. When I press a to start android device, my Samsung s7 gives me below error. Any idea about this? When using Expo XDE, it works well.

331260738

0 Likes

#2

Could be a lot of different network related things. A few things you can try:

  • Go to the url printed out by npm start in your phone’s browser and try to get that to work.
  • Use exp start --localhost which should work as long as your Android phone is connected to your computer and USB debugging is enabled.
0 Likes