user583739
user583739

Reputation: 33

How to sign an APK with more than one certificate?

(I know this has been asked before but it's a different issue.)

I accidententley signed my market app with the debug.keystore I don't want to loose my progress on the Market.

So I signed my app with the debug.keystore so I can do this

Version 1.0 => Signed with Certificate A Version 2.0 => Signed with Certificate A & B Version 3.0 => Signed with Certificate B

Then I tried to issue the command

jarsigner -verbose -keystore private.keystore myapp.apk private

and I get the following error

jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compres sed size (expected 2735 but got 2785 bytes)

Help!

Please check this at google you are badly mistaken why would I be here complaining if it didnt happen

http://www.google.com/support/forum/p/Android+Market/thread?fid=214674fe44ec7f0d00049bff172dfec9&hl=en

Upvotes: 1

Views: 688

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007624

I accidententley signed my market app with the debug.keystore I don't want to loose my progress on the Market.

That is not possible. A debug key will not be accepted by the Android Market, in part because the lifetime of the certificate is too short.

Upvotes: 1

Related Questions