Sign compiled APK to publish on Google Play Store

(Applies to APKs before Aug 2021) Android requires that all APKs be digitally signed with a certificate before they are installed on a device or updated.

To prepare your Binshops app to release it on Google Play Store, you need to sign it. To sign your APK follow the steps:

First you need to generate key pair:

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Then sign your APK:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name

Posted 1 month ago by Sam


Add a comment