0 votes

Recently created keystore with keytool and Google Play will show this message after uploading apk. Did something change? Last year it worked flawlessly.

Upload failed
You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR (Jar signer private): JAR signature META-private uses digest algorithm SHA-256 and signature algorithm RSA which is not supported on API Level(s) 14-17 for which this APK is being verified

Edit: godot 2.1.5, private info is now hidden

in Engine by (330 points)
edited by

1 Answer

0 votes
Best answer

There is some personal data in that message you linked.
Your key is out of date, that is what the warning means. You will probably need to update your android SDK and try again.

How are you signing the keys?

by (1,490 points)
selected by

One of already answered quiestion recommended this:

go to "C:\Program files\Java\jdk1.8.0_111\bin" instead and use this:"keytool -genkey -v -keystore Your_personal_file_title.keystore -alias Your_personal_alias -keyalg RSA -keysize 2048 -validity 10000"

change yourpersonalfiletitle name and yourpersonal_alias (you'll use the alias and password later so write it up somewhere you'll remember)

OK, I see the problem. You are manually signing the keys.

Here is a detailed description: https://forums.gamesalad.com/discussion/95626/solution-you-uploaded-an-apk-with-an-invalid-signature-digest-algorithm-sha-256-signature-rsa

Note: this doesn't happen with SDK 26.0.2 or higher build tools. Updating your SDK will fix this.

Thanks, I'll update SDK

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.