Android Question Google Play App Signing,Unable to export or encrypt the private key

slpxpp

New Member
Licensed User
Hello:
I was faced with a error. Can someone help me?
I'm sure the password I entered is correct,But I still get an error and cannot continue。

B4X:
D:\data>java -jar pepk.jar --keystore=**.keystore --alias=b4a --output=en
crypted_private_key_path --encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba817
0b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb
833b656cd48b9de6a
Enter password for store '**.keystore':
Error: Unable to export or encrypt the private key
java.io.IOException: Invalid keystore format
        at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
        at java.security.KeyStore.load(Unknown Source)
        at com.google.wireless.android.vending.developer.signing.tools.extern.ex
port.KeystoreHelper.loadKeystore(KeystoreHelper.java:53)
        at com.google.wireless.android.vending.developer.signing.tools.extern.ex
port.KeystoreHelper.getKeystore(KeystoreHelper.java:39)
        at com.google.wireless.android.vending.developer.signing.tools.extern.ex
port.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:165)
        at com.google.wireless.android.vending.developer.signing.tools.extern.ex
port.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:130)
 

slpxpp

New Member
Licensed User
1. I wouldn't spend too much efforts on this. There aren't any advantage for AAB packages with B4A apps.
2. One of the values is wrong. That is all that I can say.
I solve this problem.
Previously, Erel's " Google Play App Signing" was not complete enough.
1.Must Download and install Oracle JDK 8 ,NOT "Download the zip and unpack it. ", Installation is required.!!!!
2.java -jar pepk.jar --keystore=c:\**.keystore --alias=b4a --output=c:\**.pem --encryptionkey=eb10fe8f7c7**

So there is no problem.
 
Last edited:
Upvote 0
Top