[
https://issues.apache.org/jira/browse/CB-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Braden Shepherdson resolved CB-4728.
------------------------------------
Resolution: Duplicate
> jarsigner does not always work
> ------------------------------
>
> Key: CB-4728
> URL: https://issues.apache.org/jira/browse/CB-4728
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0
> Environment: Mac OS X
> Reporter: Steve Husting
> Assignee: Braden Shepherdson
> Fix For: 3.0.0
>
>
> When I used jarsigner like so:
>
> jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore
> TestApp2.keystore -keypass 6charpassword TestApp2-debug.apk TestApp2
>
> ... sometimes I get the return from terminal:
>
> jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry
> compressed size (expected 15088 but got 15506 bytes)
>
> This error comes because it has already been signed. Does this mean that
> "cordova build android" is automatically applying the .keystore file in the
> TestApp2/ folder, and we no longer need to do a jarsigner after the first
> keytool has been applied?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira