How to Re-Sign an .Apk with a Different Certificate Than What It Came With

Can I re-sign an .apk with a different certificate than what it came with?

try this

1) Change the extension of your .apk to .zip


2) Open and remove the folder META-INF


3) Change the extension to .apk


4) Use the jarsigner and zipalign with your new keystore.

hope it helps

How do you re-sign an Android APK using another certificate?

You can use apksigner to re-sign the APK before publishing. This will overwrite the existing signature on the APK and allow your client to keep their JKS secure.

Resign apk with different keystore

you should check below SO thread

Can I resign an .apk with a different certificate

or this one also may help you

The apk must be signed with the same certificates as the previous version

Nothing. Read the documentation: Publishing Updates on Android Market

Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the element of the manifest file. Also, the package name must be the same and the .apk must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application and will not offer it to users as an update.



Related Topics



Leave a reply



Submit