您的位置:首页 > 其它

Could not get BatchedBridge, make sure your bundle is packaged correctly

2016-12-30 00:00 495 查看
今天修改了app图标和图片后, run-android时,出现了Could not get BatchedBridge, make sure your bundle is packaged correctly

解决方法:(来源于:http://blog.csdn.net/b992379702b/article/details/52234479)

打开项目,找到package.json文件,在scripts中加一行

"bundle-android": "react-native bundle –platform android –dev false –entry-file index.android.js –bundle-output android/app/src/main/assets/index.android.bundle –sourcemap-output android/app/src/main/assets/index.android.map –assets-dest android/app/src/main/res/"

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐