I built an apk app with developer mode for my client using cordova build android. I did not publish to play store. I guess the cordova build automatically generate key store for me.
Unfortunately, I have formatted my Mac and now I need to update my apk app. It always shows the message like "ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: pkg: /data/local/tmp/MainActivity-debug.apk Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]" when I try 'cordova run android --device'.
I need to update the app since there is important data inside the app. Any solution to build this app without generate the keystore and overwrite the old app.