【问题标题】:Unable to connect to remote debugger无法连接到远程调试器
【发布时间】:2018-07-01 20:52:42
【问题描述】:

我正在 Android Emulator Nexus_23 中构建一个反应原生应用。我正在尝试连接到远程调试器,但出现超时错误。刷新时,我卡在空白的白色屏幕上。

试过了: (1)根据网上的一些建议也重新安装了谷歌浏览器,但仍然面临同样的问题。 (2) 我设置了我的 ip 地址 ("Dev Settings" -> "Debug server host for device") x.x.x.x:8081 (3) 试过 adb reverse tcp:8081 tcp:8081

反应原生:0.52.0 反应:16.2.0

请帮忙!

Unable to connect to remote debugger

【问题讨论】:

  • 你试过这个东西吗 -> facebook.github.io/react-native/docs/running-on-device.html
  • 你有互联网连接吗?
  • 当然我做@Sathish
  • @Thunder。那行得通。我还将 Sdk 构建工具更新到 v23.0.3。非常感谢。
  • 我刚刚跨过了声望门槛!昨天试过了!

标签: android react-native android-emulator remote-debugging


【解决方案1】:

终端中转到您的项目目录启动您的react-native服务器它将为您工作.

【讨论】: