unable to load script from assets 'index.android bundle' ,make sure your bundle is packaged correct
2017-11-10 16:10
603 查看
第一步:在 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 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爬坑之旅-unable to load script from assets'index.android.bundle'.Make sure your bundle is pa
- React-Native Android真机测试 -unable to load script from assets 'index.android bundle'...
- Unable to load script from assets 'index.android.bundle'.解决方案
- win10 windows10 react-native rn 环境安装配置Unable to load script from assets 'index.android.bundle终极解决方案
- react-native 启动的时候报错unable to load script from assets 'index.android bundle'
- React Native unable to load script from assets index.android.bundle on windows
- 解决React Native unable to load script from assets index.android.bundle on windows
- 解决React Native unable to load script from assets index.android.bundle on windows
- 搭建RN环境踩坑(一)Unable to load script from assets ‘index.android bundle’
- Mac中真机测试React Native project时出现Unable to load script from assets 'index.android.bundle'
- react-native---配置reactnative报红,run-Android时候报错unable to load script from assets 'index.android.bundl
- unable to load script from assets 'index.android.bundl
- unity打包出现Unable to list target platforms.Please make sure the android sdk path is correct.
- Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.
- Unity2017 Unable to list target platforms.Please make sure the android sdk path is correct.问题解决!
- could not get batchedbridge, make sure your bundle is packaged correctly
- Could not get BatchedBridge, make sure your bundle is packaged correctly
- could not get batchedbridge, make sure your bundle is packaged correctly
- react-native 运行报Could not get BatchedBridge, make sure your bundle is packaged correctly 错误
- Could not get BatchedBridge, make sure your bundle is packaged correctly