For some reason google play is not accepting my apk anymore.
So then i have been trying the following:
https://www.b4x.com/android/forum/threads/google-play-app-signing.91703/#content
This fails at step #1:
C:\jdk\bin\java.exe -jar pepk.jar
--keystore=C:\Users\LA3QMA_Development\b4x\LA3QMA_Android_Key.keystore
--alias=b4a --output=LA3QMA_Android_Key3.keystore
--encryptionkey=XX:XX:XXetc
I guess the --encryptionkey is the SHA-256 certificate fingerprint under "App signing" at Google Play?
The results trying this:
I'm asked to enter the password for LA3QMA_Android_Key.keystore and it's accepting it.
Then it asks for the "b4a" password wich i dont't have.
Enter password for store 'LA3QMA_Android_Key.keystore':
Enter password for key 'b4a':
Error: Unable to export or encrypt the private key
java.security.UnrecoverableKeyException: Cannot recover key
at
java.base/sun.security.provider.KeyProtector.recover(KeyProtector.java:322)
at
java.base/sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:147)
at
java.base/sun.security.util.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:90)
at java.base/java.security.KeyStore.getKey(KeyStore.java:1057)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:167)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:130)
Please advice...
So then i have been trying the following:
https://www.b4x.com/android/forum/threads/google-play-app-signing.91703/#content
This fails at step #1:
C:\jdk\bin\java.exe -jar pepk.jar
--keystore=C:\Users\LA3QMA_Development\b4x\LA3QMA_Android_Key.keystore
--alias=b4a --output=LA3QMA_Android_Key3.keystore
--encryptionkey=XX:XX:XXetc
I guess the --encryptionkey is the SHA-256 certificate fingerprint under "App signing" at Google Play?
The results trying this:
I'm asked to enter the password for LA3QMA_Android_Key.keystore and it's accepting it.
Then it asks for the "b4a" password wich i dont't have.
Enter password for store 'LA3QMA_Android_Key.keystore':
Enter password for key 'b4a':
Error: Unable to export or encrypt the private key
java.security.UnrecoverableKeyException: Cannot recover key
at
java.base/sun.security.provider.KeyProtector.recover(KeyProtector.java:322)
at
java.base/sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:147)
at
java.base/sun.security.util.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:90)
at java.base/java.security.KeyStore.getKey(KeyStore.java:1057)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:167)
at
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:130)
Please advice...