APK update from different keystores

Reading Apk must be signed with the same certificates as the previous version

I see a problem described as

loading error

You have downloaded the APK, which is signed by another certificate for your previous APKs. You must use the same certificate.

Accepted Response Terms (from android website)

.apk must be signed with the same private key. If the package name and signature certificate do not meet the requirements of the existing version, Market will consider this new application and will not offer it to users as an update.

Other answers additionally state that you must have an original keystore.

These are 3 different statements. Which of them?

  • Should the keystores be the same (and how will this be checked)?
  • Can I use a different keystore if they contain the same certificate?
  • Can I use a different certificate if it is obtained from the same key pair?
+6
source share
3 answers

Read the documentation: Launch a checklist and post updates on the Android Market

Before downloading the updated application, make sure that you have increased the attributes android: versionCode and android: versionName in the manifest file element. In addition, the package name must be the same and .apk must be signed with the same private key . If the package name and signature certificate do not match the existing version, Market will consider this new application and will not offer it to users as an update.

0
source

From support for android, followed by points that complete the script. If you can make your test pass with these three, there should be no hassle

  • The package name of the updated APK must match the current version.
  • The version code must be greater than the current version.
  • The updated APK must be signed with the same signature as the current version.

To make sure your APK uses the same certificate as the previous version, you can run the following command for both APKs and compare the results

$ jarsigner -verify -verbose -certs my_application.apk 

If the results are identical, you are using the same key and are ready to continue. If the results are different, you will need to re-sign the APK with the correct key.

For more information, click on the link that contains the rules for registering your applications

0
source

In fact, you need to update the required

  • Apk Version
  • Version code

Should be the same:

  • keystores and password
  • Name is Pckd.
0
source

All Articles