Changes are not taken into account on device


#1

Hello,

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 ?

Thanks


#2

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


#3

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.


#4

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.