0 votes

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?

in Engine by (722 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.