Android Question App signing error

Vicente Barba

Licensed User
Hi all,

I have already published an application in Google Play signed with a keystore made with Java keytool.
Now I have migrated the application to B4A and it is absolutely necessary that the signature is the same.
Using the original keystore from published application I get:

jarsigner: Certificate chain not found for: b4a. b4a must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

So I change alias to b4a and try again:

jarsigner error: private key algorithm is not compatible with signature algorithm

The key algorithm used by Java keytool is RSA and by B4A is DSA:

Java key algorithm: 2048-bit RSA
B4A key algorithm: 1024-bit DSA

It must be the same as in Google Play, otherwise the Google Play console gives me an error and tells me that since the key is different, it will not allow the update.
How can I sign from B4A using the keystore that I already have in old application?


Staff member
Licensed User