Could not get BatchedBridge, make sure your bundle is packaged correctly问题解决
2016-11-26 11:21
453 查看
在你的react native项目的根目录下执行以下命令:
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
其中assets的路径是你项目中android平台下的assets的路径。
执行完命令后,再次运行app就可以了
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
其中assets的路径是你项目中android平台下的assets的路径。
执行完命令后,再次运行app就可以了
相关文章推荐
- 安卓嵌入react native 环境的步骤,Could not get BatchedBridge, make sure your bundle is packaged correctly问题的解决
- react native 问题(mac系统) Could not get BatchedBridge, make sure your bundle is packaged correctly 问题解决
- 红屏问题"Could not get BatchedBridge, make sure your bundle is packaged correctly"
- Could not get BatchedBridge, make sure your bundle is packaged correctly 错误解决方法
- could not get batchedbridge, make sure your bundle is packaged correctly
- could not get batchedbridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- React-Native:解决真机调试时候Could not get BatchedBridge, make sure your bundle is packaged properly
- 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 错误
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- React Native 报错 Could not get BatchedBridge, make sure your bundle is packaged correctly.
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- could not get batchedbridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly