User Tools

Site Tools


doc:appunti:prog:kivy_app_in_play_store

This is an old revision of the document!


Pubblicare una app Kivy sul Play Store di Google

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:

  • Un indirizzo email da rendere pubblico sul Google Play.
  • Un indirizzo email e un numero di telefono ad uso esclusivo di Google.
  • Un profilo pagamento con cui pagare 25$ una tantum.

Console sviluppatore

  • Crea release di produzione
    • Integrità dell'app
      • Protezione automatica non attiva
      • Release firmate da Google Play:
  • App bundle
    • Caricato il file openolyimageshare-0.41-arm64-v8a_armeabi-v7a-release.aab, viene rifiutato con l'errore Tutti i bundle caricati devono essere firmati.

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

  • Google Play Console ⇒ Seleziona l'app
    • Espandi la base di utenti
      • Presenza nello store
        • Scheda dello store ⇒ Scheda dello Store predefinita ⇒ Modifica

Web References

doc/appunti/prog/kivy_app_in_play_store.1763131550.txt.gz · Last modified: by niccolo