Did the free plan of Voltbuilder cannot build the apk with upgrade (without uninstall the previous version)? It had been working in few months back, but it is not now.
If it is working, is it only for the version number is bigger than the previous version? If install the version with lower version number, will it be work?
I created the certificates file from the VoltBuilder Certificate Wizard and put this “android.p12” file into \certificates under the project directory.
In the Project Properties -> VoltBuilder and Cordova, I select this file within the “Android keystore” and input the password under the “Android keystore password”.
I build with voltbuilder first and then changed the version number and build again. I successfully install the first apk file, but when I try to install with the second apk file, it fail and prompt the signature is different.
Is there any steps I missed?
I leave it blank and try again using ADB to install the updated APK, it show “Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.nsbasic.test signatures do not match the previously installed version; ignoring!]” on screen
That makes sense. When an app gets installed, its signature is based on the certificate it has at the time. If you update the certificate, you’ll get a message like you have. It’s important to keep on using the same certificate once you create it.
I think I know the reason. I am using “run android–debug” in Cordova command. I changed to “run android–release” and build again, “UserError: Incorrect androidAlias or androidAliasPassword in…” come out. Please suggest where to find the Alias and Password.