Recently I have formatted my machine and OS been re-installed. Since then when I run react-native run-android old bundle is being installed in my android device.But in emulator updated bundle is loading.
As per this source android OS must be Android 5 and above, But mine is Android 8(Oreo).
Even i tried to do follow these suggestions, But it seems like a work around and have to run those commands every time I update a single character of a code which is not a permanent solution.
As far as i know I must mave missed to do something after reinstalling OS(as it was quite fine before re-installing the OS).
Could any body help to make the new bundle run in device.
I think your problem is look like this.
Code is not modified
open you terminal and go to project location and 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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With