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.
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.