Android Question Problem with app sign .keystore

MarkusR

Well-Known Member
Licensed User
i got message (
its with java jdk-9.0.1 & jdk-9.0.4
B4A Version: 7.80
Parse den Code. (0.00s)
Kompiliere den Code. (0.01s)
Kompiliere Layoutcode. (0.00s)
Organisiere Libraries. (0.00s)
Generiere R Datei. (0.40s)
Kompiliere generierten Java Code. (0.73s)
Convert byte code - optimized dex. (0.26s)
Packe Dateien. (0.45s)
Kopieren von Bibliothek Ressourcen (0.00s)
Signiere Paketdatei (privater Key). Error

jarsigner: unable to sign jar: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size
 

MarkusR

Well-Known Member
Licensed User
thanks erel, i will use this keytool example from you.
please add this in private sign key window in next version for others.
 

MarkusR

Well-Known Member
Licensed User
SOLVED :)
i used this batch but my tablet (android 6.0) said app was not installed.
it happened with the b4a bridge, then i used the usb cable, a message box pop up, certificate replace, ok.
i installed via usb and it works now also with b4a bridge.

this i used in cmd window, it ask something and you just need to answer
B4X:
D:\Java\jdk-9.0.4\bin\keytool -genkey -v -keystore E:\MR_B4A\mr.keystore -alias b4a -validity 3650 -keysize 1024
 
Last edited:
Top