2

I am following the exact instructions from Meteor to publish an Android app. I've made progress, but towards the end I am getting an error.

>>>> jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 unaligned.apk your-app-name

Enter Passphrase for keystore: 

jarsigner: unable to open jar file: unaligned.apk

I am not sure how to even debug this problem. I've searched the Internet but haven't found any solutions. Can anyone here provide some advice? Thanks very much.

FullStack
  • 5,902
  • 4
  • 43
  • 77
  • Check This---> http://stackoverflow.com/questions/9833024/android-error-signing-my-apk-wit-jarsigner http://stackoverflow.com/questions/10396185/jarsigner-is-unable-to-open-jar-file-nooyawk-apk-nooyawk-is-app-name http://stackoverflow.com/questions/5089042/jarsigner-unable-to-sign-jar-java-util-zip-zipexception-invalid-entry-compres https://github.com/meteor/meteor/issues/5672 http://developer.android.com/tools/publishing/app-signing.html – Chaudhary Amar Dec 23 '15 at 10:34

1 Answers1

1

It turns out that they renamed the file to release-unsigned.apk, so I have to do

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 unaligned.apk your-app-name
FullStack
  • 5,902
  • 4
  • 43
  • 77