Updating an app on Play store is something which is a routine task if you wish to optimize the app and increase usability for the users. When we try to publish an update for an existing app to play store we SHOULD use the existing key store file which we used while initially publishing the app on play store.
While trying to achieve this, I have faced a few issues, and have found ways to do the same via Command/terminal.
You can use the same, below are the steps to do them.
I am taking an example where you have an HTML android application which you want to build, sign and zipalign in order to publish it to play store.
Build the apk using cordova command line
Sign the app with existing keystore
Zipalign the apk file
The output apk file of the last step can be published to play store.
An MCSA who loves to solve problems, especially complex ones which makes me rise a notch in this tech game.