Cannot load expo application: something went wrong

I created an expo application with a command exp init MyAppand ran it by running exp startin a directory MyApp.

Then I scan the barcode that was printed in the console with the expo mobile app on the Android device.

Then, instead of the application, the "Something went wrong" screen is displayed.

Viewing the log shows "Uncaught Error: Failed to load exp: // .....".

There are no errors in the output of the expopackager console .

I used to work sometimes back.

+15
source share
16 answers

Wi-Fi, ( , ipconfig), .

, :

  • > >
  • ( )
  • "" > " 4"
  • "" > ""
  • " "
  • 10 " "
  • ""
+37

Expo reset " " .

Android 6.

- > , "", " " . "", . " ", . .

+6

"", "localhost" XDE, , , ;-) , , , . ( , )

+4

, Android (Galaxy Note 5):

  • > > >
  • off,
  • , expo

, .

+4

. expo, URL-, http://localhost: 19002/. "", LAN. Tunnel QR- expo .

+2

expo . .

+1

, Windows 10, :

  • Wi-Fi .
  • wifi .
  • "". , .
  • " " "On".
+1

, , . 1) 2)

Network profile

+1

, , - Virtualbox, Node .

  1. → →
  2. " "
+1

, ESET, 19000, 19001, 19002, Advanced-> -> , Direction-> , Action-> , , . , .

+1

, iOS Android, .

+1

( ) QR Code, Android 5.1.1.

, QR- ( ).

0

URL- http - , / ( ), WiFi . VPN, .

0

, , 19000, Expo.

0

Mac . , .

0

I believe this problem is due to a mismatch in the version of your AVD and your mobile application. I created a new AVD with a newer version of the Nexus 6 API, and the problem was resolved. I also needed permission to reset “Draw other applications” for the Expo mobile app.

-one
source

Source: https://habr.com/ru/post/1016003/


All Articles