EDIT: Remember to update your build tools, i was signing with 27.0.1 and it wouldn't accept a key encrypted with RSA. Updated to 30.0.1 and it signed
--- OP ---
Hi, because reasons i had to enable google app signing so i am trying to follow this guide: https://www.b4x.com/android/forum/threads/google-play-app-signing.91703/
I am having problems in the last step, signing the app, which is failing with these messages
The key was generated using keytool in OpenJDK 11.0.1. I am 100% sure i am typing the correct password.
From a brief search on the net it seems that there are two possible causes:
- Certain special Characters in password field, but there aren't any.
- Issues with zipalign but i don't see why it would matter if the target file is aligned?
What am i doing wrong ?
--- OP ---
Hi, because reasons i had to enable google app signing so i am trying to follow this guide: https://www.b4x.com/android/forum/threads/google-play-app-signing.91703/
I am having problems in the last step, signing the app, which is failing with these messages
B4X:
Keystore password for signer #1:
Failed to load signer "signer #1"
java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at sun.security.provider.KeyStoreDelegator.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at com.android.apksigner.ApkSignerTool$SignerParams.loadKeyStoreFromFile(ApkSignerTool.java:829)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:719)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCerts(ApkSignerTool.java:659)
at com.android.apksigner.ApkSignerTool$SignerParams.access$500(ApkSignerTool.java:611)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:266)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)
The key was generated using keytool in OpenJDK 11.0.1. I am 100% sure i am typing the correct password.
From a brief search on the net it seems that there are two possible causes:
- Certain special Characters in password field, but there aren't any.
- Issues with zipalign but i don't see why it would matter if the target file is aligned?
What am i doing wrong ?
Last edited: