Google won't accept keystore

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sprowk

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

:bust_in_silhouette: Reply From: MysteryGM

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?

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)

Sprowk | 2018-10-08 21:14

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.

MysteryGM | 2018-10-09 14:07

Thanks, I’ll update SDK

Sprowk | 2018-10-10 07:52