# Publish to Google Play

> Ship your ExaSpark Android app to Google Play with a signed .aab bundle, store listing assets, Data Safety declarations, and clean release tracks.

- Canonical: https://exaspark.ai/docs/google-play/

## Prerequisites and account setup

Direct QR installs work on every plan for rapid testing, while public Google Play releases require a signed Android App Bundle (`.aab`) and a Play Developer account:

- **Starter or Pro plan.** Signed `.aab` production bundles unlock on **Starter** (`$4.99/mo` or `$3.99/mo` billed annually) and **Pro** (`$25/mo` or `$20/mo` billed annually). See [Plans & credits](https://exaspark.ai/docs/plans-and-credits/).
- **Google Play Developer account.** Register with Google's one-time `$25` fee and identity check. **Personal** accounts must complete closed testing before Production unlocks; **Organization** accounts require a D-U-N-S number.
- **Public HTTPS Privacy Policy URL.** Required for apps with sign-in, forms, or payments. Host `/privacy` directly on your live ExaSpark domain.
- **Account deletion path.** Apps allowing account registration require both an in-app deletion option and a public deletion URL.

## Understanding package IDs, app signing, and version codes

Three release-engineering fields govern every Android app throughout its lifetime on Google Play. Setting them thoughtfully on day one prevents upload errors on every future release.

- **Package ID (Application ID).** A reverse-domain identifier such as `com.yourbrand.appname`. Once you upload your first `.aab` to Google Play, the package ID is permanently locked for that store listing and cannot be renamed later.
- **Signed `.aab` and Play App Signing.** Google Play requires new apps to upload as an **Android App Bundle (`.aab`)** rather than a raw `.apk`. ExaSpark signs your production `.aab` consistently so Google Play verifies bundle authenticity and generates optimized device-specific installs for end users.
- **Version Name vs Version Code.** `versionName` (such as `1.0.0` or `1.2.0`) is the human-readable string displayed to shoppers on the store page. `versionCode` (such as `1`, `2`, `3`) is a strictly increasing positive integer—Google Play rejects any new upload whose `versionCode` is not higher than all prior uploads.

```text
# Initial store release
packageId:   com.courtside.booking
versionName: 1.0.0
versionCode: 1

# Next update uploaded to Play Console
packageId:   com.courtside.booking   # Never change after first upload
versionName: 1.1.0                   # User-facing release label
versionCode: 2                       # Must strictly increase on every upload
```

> **Note:** Never generate a brand-new signing key or change your package ID for an existing Play Store listing. Keeping both consistent inside your ExaSpark project ensures every future `.aab` upgrades existing users seamlessly.

## Step-by-step Google Play release workflow

ExaSpark streamlines asset preparation and bundle signing so you can move cleanly from your verified web workspace to Google Play Console.

1. **Audit mobile screens and legal pages** — Inspect key screens across Pixel, Galaxy, and foldable frames in [Browser Device Lab](https://exaspark.ai/docs/device-lab/) and confirm `/privacy` and account deletion pages are live on your production URL.
2. **Confirm app identity and versioning** — Open the **Google Play** flow in your project, set your final app name, permanent package ID, `versionName` (`1.0.0`), and `versionCode` (`1`).
3. **Prepare store copy and visual assets** — Let ExaSpark draft your 80-character short description and full description from your real features, generate a `512×512` PNG app icon, and capture clean phone screenshots in [Browser Device Lab](https://exaspark.ai/docs/device-lab/).
4. **Build and download your signed `.aab`** — Trigger the signed `.aab` build on Starter or Pro. Once packaging completes, download the signed `.aab` archive to your computer.
5. **Create the app in Google Play Console** — Sign in to Play Console, click **Create app**, enter your app name and default language, and upload your signed `.aab` to **Internal testing** first to confirm clean store installs.
6. **Complete App Content and Store Listing** — Fill in Privacy Policy URL, App access (including demo login credentials if sign-in is required), Content rating, Target audience, and **Data Safety** forms, then upload your icon, feature graphic, and screenshots.
7. **Progress through Closed Testing to Production** — Invite testers on the Closed Testing track (required for new Personal accounts) or submit directly to **Production** once eligible, then monitor review status in Play Console.

## Store listing assets specification

Prepare each asset to Google Play's exact dimensions so Play Console accepts your listing on the first upload.

| Asset | Google Play requirement | How to prepare in ExaSpark |
| --- | --- | --- |
| **App bundle** | Signed `.aab` package (Starter or Pro) | Built and signed directly in your project's Android / Google Play flow |
| **App icon** | `512×512` PNG (32-bit, max 1 MB, square—Play applies rounded corners) | Generated inside ExaSpark to match your brand palette and typography |
| **Feature graphic** | `1024×500` PNG or JPEG (banner shown atop store listing & promos) | Design a clean branded banner in [Creative Studio](https://exaspark.ai/docs/media/) |
| **Phone screenshots** | 2 to 8 clean screenshots (16:9 or 9:16 aspect ratio, min 320px side) | Export 1-click framed screens directly from [Browser Device Lab](https://exaspark.ai/docs/device-lab/) |
| **Short & full copy** | Short `<= 80` chars; Full `<= 4,000` chars | Drafted from your live screens and refined for clear value and keywords |
| **Privacy & deletion URLs** | Public HTTPS pages returning HTTP 200 | Hosted directly on your live `.exaspark.app` or custom domain |

## Play Console release tracks: Internal, Closed, and Production

Google Play organizes releases into progressive tracks so you can validate real store installs before exposing a release to the general public.

| Track | Availability speed | Who can install | Best used for |
| --- | --- | --- | --- |
| **Internal testing** | Minutes (no full store review) | Up to 100 invited email addresses | Immediate sanity check of your first signed `.aab`, sign-in, and checkout |
| **Closed testing** | Subject to Play review | Specific opt-in tester lists | Satisfying Google's 14-day opted-in testing requirement for new Personal developer accounts |
| **Open testing** | Subject to Play review | Public beta link on Google Play | Gathering broad early feedback before an official public v1 launch |
| **Production** | Full Google Play review | Public Google Play Store | Official launch, optionally using staged rollouts (10% → 50% → 100%) |

> **Note:** Always upload your very first `.aab` to **Internal testing** before touching Closed Testing or Production. Verifying that Play Console accepts your bundle, icon, and sign-in flow takes minutes and catches configuration mistakes early.

## Data Safety, Account Deletion, and avoiding top rejections

Most first-time Google Play rejections come from incomplete compliance declarations rather than broken code. Checking these five areas beforehand dramatically increases first-pass approval odds.

- **Provide demo login credentials in App access.** If reviewers hit a login screen and cannot inspect your core app features, Google Play will reject the release. Create a dedicated test account on your Live app and enter its exact email and password in Play Console's **App access** form.
- **Ship both in-app and web account deletion.** Any app supporting user registration must let signed-in users delete their account from Settings and link a public `/account-deletion` page inside Play Console's Data Safety section.
- **Match Data Safety disclosures to actual behavior.** Declare email addresses, authentication IDs, user-uploaded files, or payment handling accurately. Clarify whether data is encrypted in transit (HTTPS) and strictly used for app functionality.
- **Remove placeholder text and broken links.** Reviewers tap through menus, legal links, and empty tabs. Ensure no "Lorem ipsum", dead social icons, or broken test buttons remain live.
- **Respect billing policy rules.** Physical goods, bookings, local services, and SaaS subscriptions used across platforms follow different Google Play Billing rules than pure in-app digital consumables—review Google Play's current Payments Policy for your exact business model before submission.

Use this prompt before generating your production `.aab` to put compliant legal and account-deletion flows in place cleanly:

> **Example prompt (App):** Add a complete Google Play compliance set before I export my .aab: create a clear /privacy policy page, a public /account-deletion page explaining how users delete their account and associated data, and a working "Delete my account" confirmation flow inside Settings that removes the user's account cleanly.

## Recovering packaging errors with Ask AI to fix

If an Android App Bundle build stops because of an oversized icon asset, manifest typo, invalid version code, or package dependency conflict, the build panel displays the full build trace beside an **Ask AI to fix** button.

Click **Ask AI to fix** to hand the exact packaging error directly to the Agent. It repairs the underlying project configuration or asset reference, verifies the fix, and leaves your project ready for a clean `.aab` export.

## Next steps

- [Browser Device Lab](https://exaspark.ai/docs/device-lab/) — Capture crisp Pixel, Galaxy, and foldable screenshots for Play Console.
- [Android QR & iPhone app](https://exaspark.ai/docs/android/) — Share instant Android QR test builds and iPhone Safari installs.
- [Creative Studio](https://exaspark.ai/docs/media/) — Create your 1024×500 feature graphic and Pro launch videos.

## From the blog

- [Turn a website into an Android app](https://exaspark.ai/blog/how-to-turn-a-website-into-an-android-app/) — Complete path from ExaSpark project to installed Android app.
- [App launch checklist](https://exaspark.ai/blog/app-launch-checklist/) — Plan store review, launch-week promotion, and early retention.
- [Web app, mobile app or PWA?](https://exaspark.ai/blog/web-app-vs-mobile-app/) — Understand when Google Play distribution pays off most.
