Hi, I'm running B4A 11.0 with JDK 1.8.0_301 in a Windows 7 SP1 PC... I have an app I want to publish in Play Store, which since August 2021 only allows App Bundle format.
I generated a private key with keytool program provided at JDK\bin directory:
keytool -genkey -dname "CN=Unknown,O=Unknown,C=Unknown" -keystore gilber.keystore -keysize 2048 -alias b4a -validity 15000 -keyalg RSA -keypass xxxxxx -storepass xxxxxx
where xxxxxx is the password of my own. I go to B4A menu "Tools -> Private Key", and select the .keystore file (gilber.keystore). Then I choose "Project -> Create App Bundle" and I get the next error:
B4A Versión: 11.00
Parseando código. (0.03s)
Java Versión: 8
Building folders structure. (0.03s)
Compilando código. (0.05s)
Compilado códigos de diseños. (0.01s)
Organizando librerías. (0.00s)
(AndroidX SDK)
Compilando los recursos (0.06s)
Enlazando los recursos (0.53s)
Compilando el código Java generado. (0.03s)
Convirtiendo byte code a dex optimizado. (3.61s)
Copiando los recursos de librerias (0.89s)
Building app bundle (2.02s)
Firmando el fichero AAB Error
jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm.
It seems that B4A doesn´t like RSA algorithm... but it's the algorithm that I need to successfully upload the App Bundle to Play Store... any ideas of how to solve this problem??? Or what am I doing wrong?
TIA
Eugenio
I generated a private key with keytool program provided at JDK\bin directory:
keytool -genkey -dname "CN=Unknown,O=Unknown,C=Unknown" -keystore gilber.keystore -keysize 2048 -alias b4a -validity 15000 -keyalg RSA -keypass xxxxxx -storepass xxxxxx
where xxxxxx is the password of my own. I go to B4A menu "Tools -> Private Key", and select the .keystore file (gilber.keystore). Then I choose "Project -> Create App Bundle" and I get the next error:
B4A Versión: 11.00
Parseando código. (0.03s)
Java Versión: 8
Building folders structure. (0.03s)
Compilando código. (0.05s)
Compilado códigos de diseños. (0.01s)
Organizando librerías. (0.00s)
(AndroidX SDK)
Compilando los recursos (0.06s)
Enlazando los recursos (0.53s)
Compilando el código Java generado. (0.03s)
Convirtiendo byte code a dex optimizado. (3.61s)
Copiando los recursos de librerias (0.89s)
Building app bundle (2.02s)
Firmando el fichero AAB Error
jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm.
It seems that B4A doesn´t like RSA algorithm... but it's the algorithm that I need to successfully upload the App Bundle to Play Store... any ideas of how to solve this problem??? Or what am I doing wrong?
TIA
Eugenio