For two days I could not sign the application using pepk.jar !
No examples! Or not found (May 2017)
It is not clear what and how to enter in --keystore =? --alias =? --output =?
Here is the instruction from Google:
Use the command below to launch a tool that exports and encrypts the private key. Remember to replace the arguments in bold. When prompted, enter your storage and key passwords.
$ ja-ja
This is how I did (1):
java -jar pepk.jar --keystore=D:\KEY_ET --alias=ET --output=D:\newkey.pem --encryptionkey=rb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b65643567894re Enter store password: Error: D:\KEY_ET (Отказано в доступе) I also tried it (2):
java -jar pepk.jar --keystore=D:\KEY_ET\key.jks --alias=ET --output=D:\newkey.pem --encryptionkey=rb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b65643567894re Enter store password: Enter key password: Error: No key for alias: ET The application itself is signed in Android Studio without problems and published on Google Play without problems!
D: \ KEY_ET is a folder with keys, key.jks is a key created by Android Studio by the command Generate Signed APK ...
PS Here: [ https://stackoverflow.com/questions/44103024/how-to-enable-google-play-app-signing] there are explanations, taking into account they did, it seems, everything is correct ...
Apparently, the problem with "Access Denied". It started as an Administrator and not as an Administrator ... Rebuilt permissions to the folder with the keys D: \ KEY_ET.
Nothing helps!