【问题标题】:React Native nodejs android studio emulator errorReact Native nodejs android studio模拟器错误
【发布时间】:2017-12-05 14:22:11
【问题描述】:

当我在模拟器上通过 ndroid studio 运行我的 react 本机应用程序时,我不断收到此错误

重新加载页面后显示的是

【问题讨论】:

    标签: android node.js android-studio react-native android-emulator


    【解决方案1】:
    1. 确保您的开发服务器在http://10.0.0.1:8081 上运行
    2. 检查你的开发服务器运行状态[访问http://ip:port(default8081)]
    3. 如果你的 ip 地址不正确,请关注你的模拟器,ctrl/cmd + m,开发设置,更新你的设备调试服务器主机

    【讨论】:

      猜你喜欢
      • 2017-11-13
      • 2019-09-18
      • 2017-12-15
      • 2018-05-26
      • 1970-01-01
      • 2017-04-22
      • 2018-08-22
      • 2020-12-27
      • 2018-08-09
      相关资源
      最近更新 更多