How to sign an APK with more than one certificate?
Posted
by ddcruver
on Stack Overflow
See other posts from Stack Overflow
or by ddcruver
Published on 2010-05-21T12:14:27Z
Indexed on
2010/05/21
19:00 UTC
Read the original article
Hit count: 167
How do I sign an APK with more than one certificate, so that I can do this when I publish to the Android Market:
Version 1.0 => Signed with Certificate A
Version 2.0 => Signed with Certificate A & B
Version 3.0 => Signed with Certificate B
The Android Market does give me some hope but I am not sure what to make of it, when I upload with a different sign certificate it gives me this message:
"The apk must be signed with at least one certificate in common with the previous version."
Motive:
I have published an app on the market using the Android Signing Tool as part of MotoDev Studio for android. The problem is that it handles the keys itself and there is no way (documented) to get them. I want to change it to use a keystore and certificate that I have more control of and can use even if I don't use MotoDev Studio anymore. Also it seems that MotoDev Studio will lock you out of new features such as shared libraries.
© Stack Overflow or respective owner