React Native unable to load script from assets index.android.bundle.....
创建文件夹 mkdir android/app/src/main/assets
控制台运行命令:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
控制台运行命令:
react-native run-android
原因
The file name has changed fromindex.android.jstoindex.js