Android apk not beign updated

I am able to see the changes made in ionic application over the browser. But when i generate the android platform using(ionic cordova platform add android) and build to apk, it is not updated. It shows the older version.

Ionic:

Ionic CLI : 6.4.1 (C:\Users\lenovo\AppData\Roaming\nvm\v10.16.0\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.0.0
@capacitor/core : 2.0.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins)

Utility:

cordova-res : 0.11.0
native-run : 1.0.0

System:

NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

open only one visual studio code and also close the “ionic serve” command if it’s open. Hope it will work

Thank you for the response. I have already tried this option. But it still has no updates.