Table of Contents

Pubblicare una app Kivy sul Play Store di Google

Vedere anche la pagina Creating a Kivy app for Android 11-14 on Debian 12 Bookworm.

Creazione di un account sviluppatore Play Console

Aprendo il link play.google.com/apps/publish si viene rediretti sul play.google.com/console/signup per la creazione di un account sviluppatore. Tale account apparterrà all'utente con cui si è fatto login su Google con il broser (verificare se abbiamo fatto il login aprendo www.google.com oppure mail.google.com). Si è scelta l'opzione account per un privato.

Google richiede quanto segue:

Console sviluppatore

Generare una chiave per firmare l'upload dei pacchetti

keytool -genkey -v -keystore ~/keystores/googleplay-keystore \
    -alias googleplay \
    -sigalg SHA256withRSA -keyalg RSA -keysize 2048 -validity 10000

To see the keystore type and fingerprint of the certificate contained into a keystore (requires the password):

keytool -list -v -keystore keystores/googleplay-keystore

The keystore type should be PKCS12 (Java 9 and later). In the past the keytool produced keystores in JKS format, which is Java key store. You can use it directly for signing your release apks for the playstore. So if you're just going to be using it for this purpose, you don't really need to convert it to pkcs12. PKCS12 is not specific to java. If you want to store other keys for other purposes, in the same key store, in a language-neutral format, you may want to convert it to pkcs12:

mv ~/keystores/googleplay-keystore ~/keystores/googleplay-keystore.jks
keytool -importkeystore \
    -srckeystore ~/keystores/googleplay-keystore.jks \
    -destkeystore ~/keystores/googleplay-keystore.p12 \
    -deststoretype pkcs12

The Google Play may require you to convert the certificate into PEM format before uploading to its server. Uploading the certificate to the server will simplify the uploading of new releases of the package. This is the command to get the certificate in PEM format:

keytool -export -rfc \
    -keystore ~/keystores/googleplay-keystore \
    -alias googleplay \
    -file ~/keystores/googleplay-keystore.pem
jarsigner -keystore ~/keystores/googleplay-keystore \
    openolyimageshare/bin/openolyimageshare-0.41-arm64-v8a_armeabi-v7a-release.aab \
    googleplay

To see which certificate (the fingerprint) was used to sign a release package:

keytool -printcert -jarfile \
    openolyimageshare/bin/openolyimageshare-0.41-arm64-v8a_armeabi-v7a-release.aab

Aggiornare gli screenshot

Web References