在试验的过程中。

发现运行 react-native start会卡住,停留在Loading dependency graph, done.

原因大概是之前运行过 react-native run-android。但是检查8081端口并没有占用(windows系统):

netstat -aon|findstr "8081"

对于这个问题:

如果只有一个设备,可以执行:

adb reverse tcp:8081 tcp:8081

 

至于adb命令怎么来的,参见上一篇博客

 

相关文章:

  • 2022-12-23
  • 2022-01-12
  • 2021-12-24
  • 2021-04-24
  • 2021-06-17
  • 2021-05-25
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-04-13
  • 2021-11-10
  • 2021-06-19
  • 2022-12-23
  • 2021-12-03
  • 2022-02-02
  • 2022-12-23
相关资源
相似解决方案