I\'m trying to run my first React Native project for first time on my device (Android 4.2.2).
And I get:
unable to load script from assets in
For this problem I just solve it by running:
react-native start
then
adb reverse tcp:8081 tcp:8081
on command line. And then i can run:
react-native run-android
So i will not waste my time to run:
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
every time.