Saa*_*ood 4 react-native expo create-react-native-app
我需要有关expo xde的帮助.创建项目后,当我扫描QR码时,它给出了以下错误:
there was a problem loading the experience. It looks like you may be using a LAN url.
Make sure your device is on same network as server or try using a tunnel
exp://*.*.*.*:19000
Error Code: NETWORK_ERROR
Code: -1004
Run Code Online (Sandbox Code Playgroud)
我的移动设备与我的笔记本电脑位于同一网络上.我正在使用:
OS: window 10
Node Version: 8.9.4
NPM Version: 4.6.1
Run Code Online (Sandbox Code Playgroud)
它适用于隧道连接,但有点慢.
此错误表示移动设备无法连接到笔记本电脑上运行的开发服务器.
可能的原因包括:
要解决这个问题,您可以:
EXPO_PACKAGER_HOSTNAME环境变量设置正确的IP .(在Windows上)您也可以调整网络适配器的优先级.adb reverse,使设备能够使用localhostURL 通过USB连接.| 归档时间: |
|
| 查看次数: |
4208 次 |
| 最近记录: |