I get this error when I try to sign my .apk
jarsigner: unable to open jar file: android-release-unsigned.apk
I’ve no idea why this is happening. I’m using:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk my-alias
My keystore is .keystore format, not .jks.
I’m sure I’m using the right passphrase, password and alias because I experimented using the wrong ones and I get appropriate errors.
I’m running this from within the /release folder so it’s not a path error.
Why won’t it sign?