- 关于react-native 运行项目中遇到could not
- react-native 运行项目中遇到could not co
- 在andriod设备运行react native项目时遇到的问题
- 运行React-native Could not find "i
- react-native 运行出现Could not find
- Android project not found,try 'r
- React Native module.js throw err
- react-native 0.59 Could not conn
- React-Native 运行报 Could not conne
- react-native运行报错:Could not find
我在创建好react-native项目中,出现这样的问题。
could not connect to development server
解决方案:
在ios项目中,info.plist文件中,添加
<key>NSAppTransportSecurity</key>
<dict><key>NSAllowsArbitraryLoads</key><true/></dict>
让app支持http协议,这样问题就解决了。
网友评论