How to sign an App for Play Store

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By henriquelalves
:warning: Old Version Published before Godot 3 was released.

Hey guys,
So I’m trying to upload my .apk file to the Play Store, but I keep receiving the “Unsigned .apk” error - even though I keep rebuilding my .keystore file with different kinds of configurations. Am I missing something? Is there some export configuration I’m missing? I had to use a custom export so I could add Ads in my game, and the game looks fine when I Remote Deploy it on my Android.

:bust_in_silhouette: Reply From: henriquelalves

Solved my own mistake.
Had to download openjdk-6-jdk on linux (linuxmint) by using

sudo apt-get install openjdk-6-jdk

Then assigned the correct jarsigner, found at “/usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner” in the export edtitor.

For the .keystore file, I just used the command

keytool -genkey -v -keystore debug.keystore -alias resonance -keyalg RSA -keysize 2048 -validity 10000

On the .android folder.