【问题标题】:Timeout while connecting to remote debugger in Ubuntu在 Ubuntu 中连接到远程调试器时超时
【发布时间】:2018-06-27 11:48:41
【问题描述】:

我在以下环境中运行 react-native:-

Environment:
  OS: Linux 4.4
  Node: 6.11.1
  Yarn: 0.22
  npm: 5.5.1
  Watchman: 4.5.0
  Xcode: N/A
  Android Studio: Not Found

Packages: (wanted => installed)
  react: 16.0.0 => 16.0.0
  react-native: 0.51.0 => 0.51.0

每当我尝试远程调试 js 时,我都会在 chrome 中收到“连接到真正的 android 设备中的远程调试器时超时”的问题。我还在 mac OS x 中测试了该应用程序,它可以在远程 js 调试中正常工作。

【问题讨论】:

    标签: react-native react-native-debugger


    【解决方案1】:

    您好,这个问题类似于https://github.com/facebook/react-native/issues/16674

    我已经通过降级 react-native 版本解决了这个问题。注册护士 0.49.3。

    【讨论】: