Any changes made to code not reflecting in build apk

Any changes made to code not reflecting in build apk even though I removed and then add platform.
Changes made in version of config.xml
But didn’t reflecting.

Try this command:
-> ionic cordova platform rm android
-> ionic cordova prepare android
-> ionic cordova build android

1 Like

It’s working thanks GameAppsBD

1 Like

I was following the Moodle Documentation where i downloaded the repo and npm run setup which helps to setup project.
Then i used Ionic serve --browser chrome
it opens the app in chrome browser and also loads all Js files.
I can able to make changes and in Js files and i can see the changes reflected in browser.
When I’m trying to convert it into apk by using
npm run ionic:build – --prod
cordova run android
( or )
ionic cordova platform rm android
ionic cordova prepare android
ionic cordova build android

these commands helps in getting APK bt the changes i made in JS files are not reflecting.
The files inside www/build/ are updating to normal state.