Auto Publish

Learn how to Test & Publish your Android App without using Android Studio

This guide walks you through the process of using Despia's native Google Play Store integration to publish your Android application to the Google Play Store.

Overview

Despia offers a one-click publishing solution that simplifies the entire CI/CD/deployment pipeline for Android applications. With our native Google Play Store integration, you can:

  • Test your application internally via Google Play internal testing tracks

  • Distribute beta versions to testers through open testing tracks

  • Publish your app to the Google Play Store to reach millions of users

When you publish with Despia, your application is initially sent as a draft to internal testing for validation before you submit it for Google Play Store review.

Prerequisites

Before you begin, ensure you have:

  • A Google Developer account with access to Google Play Console

  • Access to Google Cloud Platform

  • Your app icon prepared with approximately 40% more safe space (Android uses round icons)

  • Your splash screen ready

  • Any additional configurations needed for your Android application (e.g., one signal for GDPR-compliant push notifications)

1

Connect Your Google Developer Account

  • In Despia, click on Publish App (or Device Testing)

  • In the one-click deployment widget, select Google Android

  • Click Add New Developer Account if you don't have one linked

Create a Google Service Account:

  • Go to Google Cloud (cloud.google.com)

  • Create a new project (e.g., "Despia Project")

  • Navigate to IAM and Admin > Service Accounts

  • Click Create Service Account

  • Name your service account (e.g., "Despia Projects")

  • Grant it the Service Account User role

  • Skip the optional steps and click Done

Generate API Key:

  • Click on your newly created service account

  • Go to the Keys tab

  • Click Add Key > Create New Key

  • Select JSON format

  • Download the key file (back it up, as it cannot be downloaded again)

  • Upload this JSON file to Despia

  • Click Link with Google to complete the connection

Enable Google Play Android Developer API:

  • Click Manage Integration in Despia

  • This will take you to Google Cloud with your project selected

  • Click Enable for the Google Play Android Developer API

2

Generate or Import a Key Store

Every Android application needs a key store. In Despia, you have three options:

For new applications:

  • Click Generate to let Despia create a key store for you

  • Despia will automatically generate and store your key

  • Download and back up your key store (crucial, as losing it means you cannot update your app)

For existing applications:

  • Click Import existing key store

  • Enter your key store password, alias password, and application alias

  • Upload your key store file

  • Despia will validate your ownership

Important: Whoever owns the key store owns the application. Despia assigns one key store per application for easier export and management.

3

Register Your App in Google Play Console

  • Go to Google Play Console (play.google.com/console)

  • Click Create App

  • Enter your app name

  • Specify if it's free or paid

  • Accept the developer program policies

  • Click Create App

Set up internal testing:

  • In Google Play Console, go to Test > Internal testing

  • Click Create new release

  • Upload the AAB (Android App Bundle) downloaded from Despia

  • Add release notes (e.g., "Initial upload V1")

  • Click Save

4

Give Your Service Account Permission

  • In Google Play Console, go to Users and permissions

  • Click Add User

  • Enter the service account email address (found in Google Cloud IAM)

  • Grant it Admin access

  • Click Invite User

  • In the permissions page, add your app to the service account's permissions

  • Click Save changes

5

Complete Google Play Store Requirements

Before your app can be published, complete these requirements:

App Access:

  • Specify if your app requires login

  • Provide test account credentials if needed

Content Information:

  • Add a privacy policy URL

  • Specify if your app contains ads

  • Submit content ratings

  • Define your target audience

  • Complete data safety information

  • Select app category

  • Provide contact details

Store Listing:

  • Add a short description

  • Create a full description

  • Upload app icon (512 x 512)

  • Upload feature graphic

  • Add at least 4 screenshots

  • Save your store listing

6

Publish Your App

To internal testing:

  • In Despia, click Publish Project

  • Wait for the build process to complete (can take up to an hour)

  • Despia will automatically send your app to Google Play Console's internal testing track

Share with testers:

  • In Google Play Console, go to Internal testing

  • Under Testers, copy the opt-in URL

  • Share this URL with your team members

  • Testers can install the app after accepting the invitation

For open testing (public beta):

  • In Google Play Console, go to Open testing

  • Create a new release or promote from internal testing

  • Select countries for distribution

  • Complete any remaining requirements

  • Submit for review

Publish to production:

  • In Google Play Console, go to Production

  • Promote your release from testing

  • Select countries for distribution

  • Submit for review

  • Wait for Google's review process (typically up to 7 days)

Common Rejection Reasons and Solutions

Privacy Issues

  • Missing privacy policy: Ensure you have a valid privacy policy URL

  • Data collection declaration: Be transparent about what data your app collects

App Functionality

  • Crash on startup: Thoroughly test on multiple Android devices

  • Minimal functionality: Ensure your app provides sufficient value and features

Payment Issues

  • In-app billing: Use Google Play's billing system for digital goods

  • External payment redirects: Clearly disclose payment processes

Key Benefits of Despia for Android Development

  • Over-the-air updates: Changes on your main branch are immediately updated without going through the Play Store approval process

  • Native functionality: Access native features through Despia's integrations

  • Complete ownership: Maintain full intellectual property rights and access to your key store

  • Simplified deployment: No need to manage Android Studio or complex build processes

Getting Help

If you encounter any issues during the publishing process:

Note: Once your app is on the Google Play Store, any changes made in Despia will be available after simply refreshing the app, thanks to our over-the-air update system.

Updated on