解决React Native unable to load script from assets index.android.bundle on windows

在ReactNative工程下 执行该命令 前提 是 在 android app /src/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

你可能感兴趣的:(解决React Native unable to load script from assets index.android.bundle on windows)