Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | duke_meister | |
Old Version | Published before Godot 3 was released. |
I get an error when exporting for Android (below is just a test app):
jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm
running cmdline: "H:/Program Files/Java/jdk1.8.0_77/bin/jarsigner.exe" "-verify" "H:/dev/godot/projects/test.apk" "-verbose"
The jarsigner command is:
running cmdline: "H:/Program Files/Java/jdk1.8.0_77/bin/jarsigner.exe" "-digestalg" "SHA1" "-sigalg" "MD5withRSA" "-verbose" "-keystore" "H:/dev/godot/something.keystore" "-storepass" "password" "H:/dev/godot/projects/test.apk" "my_alias"
(I edited above keystore name, password, alias)
The result is an unsigned APK. I can sign this manually, but I’m wondering why this is happening.
I also notice lots of errors before this step as below.
ERROR: ResourceImportMetadata::get_option: Condition ' !options.has(p_key) ' is true. returned: Variant()
At: core\resource.cpp:102
I specified RSA when creating the keystore, is that the problem?
Thanks.