0👍
it is because the latest changes you made to files need to be brought to the platform folder (E.g. $projectroot/platform/android/www)
.
For this you have two options:
- you can edit the file here directly
$projectroot/platform/$platform_name/www
, but as a result, if you delete the platform, then that change will get lost. - Or you can make also make the changes in
$projectroot/www/
but you will need to run few commands:cordova platform remove android
andcordova platform add android
if it is for Android. Please note that this will also overwrite any special configuration you have made in your IDE (xCode for iOS or Android Studio for Android) because it regenerates from your code, a new workspace for your app to be compiled, including your latest code, all in the platform folder.
Good luck!
Source:stackexchange.com