I made a key file like this:
C:\Users\Alex>keytool -genkey -v -keystore alexkey.keystore -alias alexkey -keyalg RSA -keysize 2048 -validity 10000
and then I tried to sign my .apk file with it like this:
C:\>jarsigner -verbose -keystore alexkey.keystore problemio.apk alexkey
and I saved the .apk file by right-clicking the project name in Eclipse --> Android tools --> Export unsigned application package.
and then I put the .apk file in the same dir as the key, and ran the jarsigner command from that same dir.
Any idea why I got this error:
jarsigner: unable to create: problemio.apk.sig
Thanks!
Credit to @yorkw for the answer, the real solution to this problem is a folder permissions issue. Make sure you are operating in a folder that you can modify. I just fixed that same problem for my self by making sure I was in a folder with the right permissions.
This error is related to permission issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With