Could not get BatchedBridge,make sure your bundle is packaged correctly
执行
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/
报错
ENOENT: no such file or directory,open 'F:\code\rn-wallpaper\Wallpaper\android\app\src\main\assets\index.android.bundle'
在main目录下新建assets目录再次执行
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/