首页 > 建站教程 > APP开发,混合APP >  warn No apps connected. Sending “reload” to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.正文

warn No apps connected. Sending “reload” to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.

我爱模板网在今天使用react-native,修改代码,模拟器上的界面并没有更新,在运行时弹出的命令窗口根据提示,按“r“,提示我下面的错误:

warn No apps connected. Sending “reload” to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.


百度了下,说是8081端口被占用,忽然想起来,本电脑上还运行着nginx,启用的端口正式8081。于是关闭nginx,重新运行yarn android,总算好了!