React Native 连接设备遇到的坑

连接设备时最常见的三种错误

  • Hot loadin gisn’t working because it cannot connect to the development server.
    React Native 连接设备遇到的坑

  • Error calling HMRClient.enable
    React Native 连接设备遇到的坑

React Native 连接设备遇到的坑


遇到以上三种错误,如果是adb断了就使用一下步骤
1. adb reverse tcp:8081 tcp:8081
2. npm start
如果adb没断,直接
1. npm start

相关文章:

  • 2022-02-13
  • 2021-04-04
  • 2021-11-19
  • 2021-10-22
  • 2021-10-22
  • 2021-10-08
  • 2021-08-08
  • 2021-05-03
猜你喜欢
  • 2021-11-09
  • 2022-01-20
  • 2021-08-06
  • 2021-05-02
  • 2021-04-19
  • 2021-05-14
  • 2021-12-25
相关资源
相似解决方案