让本地博览会推出app应用时间

时间:2017-12-13 15:27:41

标签: react-native

使用create react native app,当我从包管理器扫描QR代码时出现此错误:

java.net.SocketTimeoutException - 连接超时

我的三星s8通过USB连接,当我使用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"}

有人可以帮忙吗?我花了很多时间试图让这个工作

1 个答案:

答案 0 :(得分:0)

我禁用了其他连接。世博会违反了错误的知识产权。

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