【发布时间】:2019-03-02 12:04:25
【问题描述】:
我正在尝试使用 Android Emulator (Pixel XL API 28) 连接到远程调试器,无论尝试如何,我都会收到错误消息:
Unable to connect with remote debugger
Timeout while connecting to remote debugger
Chrome 打开的 URL 显示正确:localhost:19006/debugger-ui
但是应用程序总是出错并且无法连接。
我已经尝试了React-native Timeout when connecting to remote debugger in windows 中发布的解决方案,但没有成功。大多数其他 SO 问题与我遇到的问题不匹配。
RN 版本:0.52.0
Chrome 版本:69.0.3497.100(官方版本)(64 位)
Android 模拟器:Pixel XL API 28
如果重要,请使用 Expo XDE IDe?
【问题讨论】:
-
您自己打开调试器还是在您的应用启动时自动打开?
-
@JoseVf - 我在模拟器上按 Ctrl-M 并选择
Debug JS Remotely -
:/我问是因为(IDK为什么..)有时当我调试IP和端口更改时。
标签: debugging react-native android-emulator expo