I have created a project using Expo XDE. I checked this Can't load expo app: Something went wrong but I have already enabled \"Draw over other apps\". It works https://expo.
I encountered the same problem and none of the solutions worked for me. The problem here is that Expo shows the wrong IP address which your phone can't connect to.
This is how I worked around it. I'm going to assume that you're on windows and using LAN to run the app on your device.
ipconfig
and find out your local IP. It should be
listed as IPv4 Address
under the Wireless LAN Adapter
section. It
will look something like 192.168.xx.x
exp://192.168.xx.x:19000
. Copy this text to your clipboard.Open from Clipboard
option on
the top. Press it and your app should load.Now anytime you want to load an app, you can copy the same address and open it in Expo.
There's another simpler workaround I found. Run the command
set REACT_NATIVE_PACKAGER_HOSTNAME=192.168.xx.x
beforeexpo start
. This will set the correct IP in Expo Dev Tools.
Hope this helps.
Sometimes the problem is due to using a wrong network adapter priority.
open the terminal and run
ipconfig
if your main LAN adapter is not listed as the first adapter, then changing the adapter priority may solve the problem. Just follow the steps:
Goto Control Panel > Network and Internet > Network Connections
Right click your main LAN
Click Properties > Internet Protocol Version 4
Click Properties > Advanced
Uncheck 'Automatic Metric'
Enter 10 in 'Interface Metric'
Click OK
I tried suggestions given here but are not suitable for my issue. This worked for me. Go to your browser where localhost:19002 is running and change the connection to Tunnel. Scan the new QR code generated from your mobile. Hope this helps!
If anyone is having a similar problem, my issue had to do withasking to allow node.js to connect with the network appeared, and it worked.
In my case it was VPN - I have connected my mobile with VPN after disconnect it loaded successfully !
I guess a lot of people must have done all the above and still have Something went wrong error
The docs might have specify when building locally and your device is connected to your machine you should click on the Local section on web debug page which shows the QRcode image.
Then after clicking on Local, try to scan the QRcode once again your error should disappear and shows a loading bundling javascripts assets.