Skip to content

Android Distribution

Setting up Android distribution requires a Google Play Developer account. The signing keystore is automatically generated by the platform.

Before starting, make sure you’ve completed the shared Prerequisites in App Configuration.

If you haven’t already, register at play.google.com/console/signup. There is a one-time $25 registration fee.

  1. Go to play.google.com/console

  2. Click Create app

  3. Fill in the app name, default language, app type (App), and whether it’s free or paid

  4. Accept the declarations and click Create app

A service account allows the build system to upload your app to Google Play automatically.

  1. Go to console.cloud.google.com

  2. Create a new project (or select an existing one)

  3. Enable the Google Play Android Developer API:

    • Go to APIs & Services → Library
    • Search for “Google Play Android Developer API”
    • Click Enable
  4. Create a service account:

    • Go to APIs & Services → Credentials
    • Click Create Credentials → Service Account
    • Enter a name (e.g., “Play Store Upload”) and click Create and Continue
    • Skip the optional role and user access steps
    • Click Done
  5. Create a JSON key:

    • Click on the service account you just created
    • Go to the Keys tab
    • Click Add Key → Create new key
    • Select JSON and click Create
    • Save the downloaded GoogleCloudServiceKey.json file
  6. Link the service account to Google Play Console:

    • Go to play.google.com/consoleUsers and permissions
    • Click Invite new users
    • In the email address field, enter the service account email (found on the service account details page in Google Cloud Console, e.g. [email protected])
    • Under App permissions, select your app and click Apply
    • Under Account permissions, enable at minimum: Release to production, exclude devices, and use Play App Signing
    • Click Invite user and then Send invite

The Application ID is the unique package name that identifies your app on Google Play. It is permanently baked into the app binary and cannot be changed after the first upload to Google Play.

  1. In the admin panel, go to App Studio → Distribution → Android

  2. Enter your Application ID using reverse domain notation (e.g., com.yourcompany.yourapp)

  3. The field saves automatically

Upload your files to the platform:

  1. In the admin panel, go to App Studio → Distribution → Android
  2. Upload the following files:
FileDescription
GoogleCloudServiceKey.jsonGoogle Play API service account key

Google Play requires the very first app bundle to be uploaded manually through the Play Console. The API cannot create a new app listing — it can only update existing ones.

  1. Trigger a build from the admin panel — the build will succeed and produce an AAB file

  2. Download the AAB from the admin panel (App Studio → Distribution → Android → Download)

  3. In Google Play Console, go to your app → Testing → Internal testingCreate new release

  4. Upload the AAB file and complete the release

In App Studio → Distribution → Android, verify that all fields are filled in and no validation errors are shown before triggering a build.

”Application ID is required for Android distribution”

Section titled “”Application ID is required for Android distribution””

The Application ID has not been set. Go to App Studio → Distribution → Android and enter your Application ID (e.g., com.yourcompany.yourapp). This is the unique package name for your app on Google Play. See step 4 above.

”Google Play service account not found”

Section titled “”Google Play service account not found””

The GoogleCloudServiceKey.json file is missing or wasn’t uploaded. Upload it via the Distribution page.

Same as the Application ID error above. The Application ID field on the Distribution page must be filled in before building.

The service account may not have the correct permissions. Verify:

  • The service account is linked in Google Play Console → Settings → API access
  • The service account has permission to release to production for your app
  • The Google Play Android Developer API is enabled in your Google Cloud project