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

asked Oct 8, 2018 in Engine by Sprowk (326 points)
edited Oct 8, 2018 by Sprowk

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?

answered Oct 8, 2018 by MysteryGM (1,420 points)
selected Oct 10, 2018 by Sprowk

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 How to use this Q&A? before posting your first questions.