Unable to load script from assets 'index.android.bundle'. Make

第一步(创建缺失的目录):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

你可能感兴趣的:(Unable to load script from assets 'index.android.bundle'. Make)