Search code examples
androidvisual-studiocordovavisual-studio-cordovaripple

Visual Studio Cordova App not updating on Android device


When I deploy my app to any Android device I get an old version of the app. I have factory reset the android phone on Kitkat 4.4.4 and have also tried installing on a newer android 5.0 device. I am always getting the same old version cached. When I debug with the ripple emulator I always get the newest changes with no issue.

I have tried adding 'preference name="useBrowserHistory" value="false"' to the config.xml in the solution with no luck. One notable change that has happened is I have moved to a new computer and I did not have this issue on the old one.

Any help would be greatly appreciated.


Solution

  • Have you tried to delete the bin and bld folders in your project before you deploy? It might be that for some reason your Android project is not being rebuilt. This should force it.