刚刚配置完react—native
运行程序,出现以下问题,每次修改代码后再reload不能够实现刷新,需要再在工程目录下执行“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/”才能得到想要效果。
在这之前还出现过红屏问题。”Could not get BatchedBridge, make sure your bundle is packaged correctly”也是用这种方法解决的。