react-native 运行报Could not get BatchedBridge, make sure your bundle is packaged correctly 错误
运行react-native 时遇上Could not get BatchedBridge, make sure your bundle is packaged correctly,网上了找了好些答案,终于解决了。
解决方案:
1.检查项目下是否有assets目录,若没有则创建(位置如:android/app/src/main/assets)
2.在当前目录下执行命令:
react-nati
原创
2016-11-25 16:36:21 ·
1188 阅读 ·
0 评论