Publishing to Google Play
Android Development with Compose: Production & Publishing
Course 6 ยท Chapter 7 ยท Going Live
This is the chapter most likely to be out of date by the time you read it: Play policy and console screens change often. It describes the route and what to prepare. It does not publish anything, create an account or touch a console, and nothing here was seen on a real Play Console. Treat the Play Console Help pages as the source of truth on the day.
Before You Start: What You Need
- A Play developer account. (general knowledge) Created by you, with a registration fee and identity checks that Google decides on. Not covered by the searches: look at the "Get started with Play Console" help page. Nothing here creates it for you.
- A finished, tested release build from Chapters 5 and 6 (R8 on, tested by hand).
- A privacy policy at a public URL (blogs say it is required: confirm), a store listing and screenshots.
Version and Target
- (general knowledge)
versionCodeis a whole number that must increase with every upload,versionNameis the label people read. The searches did not cover the rule; confirm in the docs. - (official page, as summarised) New apps and updates must target API 36 or higher from 31 August 2026. That date has passed; the extension mentioned in blogs ended on 1 November 2026. Check the live page: the target level rises about once a year.
- (general knowledge) Raising
targetSdkopts you in to newer behaviour changes, so test the app after raising it, in particular the permission and foreground-service changes of Chapters 3 and 4.
Signing
- Why two keys. (docs) You sign with an upload key; Google holds the app signing key that signs what users receive. If you lose the upload key, it can be reset; (general knowledge) that is much better than the old model, where losing the one key meant you could never update your app.
- Back it up. (general knowledge) Keep the keystore and its passwords out of the repository (Chapter 5) but safely stored somewhere you will still have in three years.
- Fingerprints. (docs) If you use Maps or Google sign-in, register the Google-held signing key's fingerprint, or those features may fail in the store version while working in your own builds.
(blogs, unconfirmed) New apps are uploaded as an Android App Bundle (.aab) and not an APK. (general knowledge) Google Play then builds the right APKs for each device from the bundle.
The Play Console Route (described, not performed)
- Create the app in the console: name, language, free or paid (general knowledge; the "Create and set up your app" help page came up but was not read).
- Fill in the app content declarations: privacy policy, Data safety form, content rating (blogs say all are required; read the official pages). Answer from what the app really does. The Data safety answers must match the real behaviour, including what Firebase (Chapter 8) collects (general knowledge).
- Store listing: title, descriptions, icon, graphics, screenshots (blogs list the sizes above: confirm in the console, which tells you its limits).
- Upload a release to a track (docs: closed testing is under Test and release > Testing, and creating a release needs the testing-release permission).
- Test, then ask for production, if your account needs the closed test (next section).
- Review and rollout (general knowledge, not in the searches): Google reviews the app; a staged rollout lets you release to a percentage of users first. Confirm the options in "Prepare and roll out a release".
Testing Tracks and the New-Account Rule
| Track | Purpose (general knowledge; the searches did not describe each) |
|---|---|
| Internal testing | Quick checks by a small group, such as you and friends |
| Closed testing | A chosen list of testers; (official page) the one used for the new-account requirement |
| Open testing | Anyone can join; the app's signing key is fixed once it is on an open track (docs) |
| Production | Everyone, in the store |
- (official page) A personal account created after 13 November 2023 needs a closed test with at least 12 testers opted in continuously for 14 days before applying for production. A tester who leaves and rejoins restarts the count, and Production stays disabled until the requirement is met.
- (general knowledge) Plan for this: you need 12 real people with Android phones who will stay opted in. Start the test early, and keep a list of who has accepted. Whether your account is covered depends on when it was created and on its type: the console tells you.
Before You Press Publish
Release checklist (the notes app) [ ] applicationId chosen and final [ ] targetSdk meets the CURRENT Play requirement (check the live Play Console Help page) [ ] versionCode higher than any earlier upload; versionName set [ ] R8 on for release (Chapter 5), release build tested by hand [ ] No debug-only code or keys; StrictMode only in debug (Chapter 6) [ ] Privacy policy URL ready; Data safety answers match what the app really does [ ] Signed .aab built with the upload key; keystore and passwords backed up [ ] Store listing text and graphics ready; screenshots from a real run
Try It Yourself
Set applicationId, versionCode and versionName, and build a signed release bundle with a new keystore. Report where the keystore is stored, how you backed it up, and the path of the bundle. Do not upload anything.
Open the Play Console Help pages for target API level and for the new-account testing requirement. Write down today's target level, whether your account is covered by the 12-tester rule, and anything that differs from this chapter.
๐ View solutionWork through the release checklist for the notes app and mark each item done or not. Write the Data safety answers you would give, based on what the app actually stores and sends. Add anything the checklist is missing.
๐ View solutionBlogs only, unconfirmed: listing limits; the Data safety, content rating and privacy-policy requirements; the bundle requirement; device verification; the verified-developer requirement and 30 September 2026 deadline.
General knowledge, not checked: the Gradle snippet and the
versionCode rule; the bundle command and output path; the track purposes other than closed testing; review and staged rollout; the account fee and identity checks; the checklist.Not verified: anything seen in a real console; the live state of any rule on the day you read this. Nothing was published, signed or uploaded by me.
Sources: Sign your app (developer.android.com), Use Play App Signing (Play Console Help), App testing requirements for new personal developer accounts (Play Console Help), Target API level requirements for Google Play apps (Play Console Help), Prepare and roll out a release (Play Console Help), Create and set up your app (Play Console Help), Set up an open, closed, or internal test (Play Console Help).