React Native Expo启动应用程序超时



使用Create React Native应用程序,当我从软件包管理器扫描QR码时,我会遇到此错误:

java.net.sockettimeoutexception-连接时间

我通过USB连接了三星S8,当我使用HTTP而不是EXP浏览地址时,我可以看到以下JSON:

{"sdkVersion":"23.0.0","name":"tester1","slug":"tester1","version":"0.1.0","xde":true,"developer":{"tool":"crna","projectRoot":"C:\sites\tester1"},"packagerOpts":{"hostType":"tunnel","lanType":"ip","dev":true,"strict":false,"minify":false,"urlType":"exp","urlRandomness":null},"env":{},"bundleUrl":"http://169.254.140.132:19001/./node_modules/react-native-scripts/build/bin/crna-entry.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=C:\sites\tester1\node_modules\expo\tools\hashAssetFiles","debuggerHost":"169.254.140.132:19001","mainModuleName":"./node_modules/react-native-scripts/build/bin/crna-entry","logUrl":"http://169.254.140.132:19000/logs","id":"@anonymous/tester1-e649dd6c-008d-4356-a9eb-0f80bb8a6a98"}

有人可以帮忙吗?我花了很长时间试图使此工作

我禁用了其他连接。博览会默认为错误的IP。

控制面板>网络和互联网>网络连接

相关内容

  • 没有找到相关文章

最新更新