App.bundle.js not being updated when using "ionic run android"?


#1

Hi guys,

I’ve got a situation where I am trying to fix a bug, so I modify some code in one of my services, then run “ionic run android” again, however, when I debug (using chrome inspect) on the device, I can see that the modified code has not been deployed on the phone - it is still the code before the bug was fixed.

Any ideas what I’m doing wrong here?

Thanks,

Matt.


#2

I figured this one out (well sort of). I noticed in the build output directory (\platforms\android\build\outputs\apk), there were extra apk files with times that were over an hour old. (they had armv7 in the name). I have a feeling these were creating as a result of me uninstalled the crosswalk plugin (maybe)?

Either way, I removed all apk files in this directory, and re-built everything and then it worked fine.

Cheers,

Matt.