代码之家  ›  专栏  ›  技术社区  ›  ProfessionalAmateur

Android Emulator无法连接到本地远程调试器-连接时超时

  •  0
  • ProfessionalAmateur  · 技术社区  · 8 年前

    我正在尝试使用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位)

    使用Expo XDE IDe是否重要?

    [ Emulator Error Message] Debugger Browser

    1 回复  |  直到 8 年前
        1
  •  0
  •   Tarreq    8 年前

    尝试先在浏览器中(运行前)打开调试器,然后在emulator上运行,然后选择“远程调试JS”

    推荐文章