Leo Leo - 1 month ago 10
Android Question

Signing certificate error when update apk from XE7 to XE8

My Android apk was developed by XE7. Now I upgrade the project with XE8.
The IDE report a signing certificate error when install the apk to Android device:


Unable to create process: Unable to install
D:\GMTWork\SalesApp\Android\Release\SalesApp\bin\SalesApp.apk. Failure
[INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]


Embarcadero's solutions are:



  1. Manually uninstall the previously-installed application from your Android device.

  2. Configure RAD Studio to perform a clean install every time that you run your application.




I think that these are not good solutions. Because my apk has been installed in many phones, I can't require the user to manually uninstall or do a clean installation.

So,
who have a better solution? or can my apk use a same signing certificate?

Zam Zam
Answer
Comments