Changes are not taken into account on device


I’m trying to test my application on Android device which is launched well.
But I noticed that when i change my code (for example adding an input on the page) and then, rerun my app on my device, the modifications are not taken into account.

Have you ever had this problem ?


Yeah, though the changes will (should) catch up. I think it’s related to caching and is common.

It doesn’t work.

First i removed my app on my device. Then :

npm cache clean --force
cordova platform remove android
cordova platform add android

cordova build android
cordova run android

But my app doesn’t show what i added in my code.

I resolved my problem by removing all content in “www” folder and then :

ionic cordova build android
ionic cordova run android

It’s working for me.