You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Husting (JIRA)" <ji...@apache.org> on 2013/09/03 16:48:52 UTC

[jira] [Created] (CB-4728) jarsigner does not always work

Steve Husting created CB-4728:
---------------------------------

             Summary: 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