在Mac電腦上進行React-Native安卓真機運行報錯解決:解決 unable to load script from assets 'index.android bundle'...

一、分析解決 (步驟一) 原因:assets中沒有成功打包出index.android.bundle文件 解決:1、去(你的項目文件夾)\android\app\src\main目錄下新建asset文件夾    2、項目根目錄下運行      react-native bundle --platform android --dev false --entry-file index.js --bun
相關文章
相關標籤/搜索