简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM