How to Publish an Android App on Google Play: AAB, Signing, Versions and Policies
Quick answer: Create a Google Play Console developer account, build a signed release Android App Bundle (.aab) with an upload key, and enroll in Play App Signing. Increase versionCode on every release, target the API level Google currently requires, fill in the store listing, privacy policy, Data safety form and content rating, and test on a testing track. New personal accounts must run a closed test with at least 12 testers for 14 days before they can publish to production.
Publishing an app on Google Play involves more than uploading a file. You need a developer account, a correctly signed build, version numbers, store information, policy declarations and, for new accounts, a testing period. This guide walks through the whole process in order, with the details that most often block a first release.
1. Create a Google Play Console account
Go to the Play Console (play.google.com/console), sign in with a Google account and pay the one-time registration fee. Choose the account type carefully:
- Personal account: for individuals. Requires identity verification and, for accounts created after November 13, 2023, a closed test before production (step 9);
- Organization account: for companies. Requires a D-U-N-S number and organization verification, but doesn't have the closed testing requirement.
Verification can take a few days, so start it before the app is finished.
2. Build an Android App Bundle (AAB)
New apps must be published as an Android App Bundle (.aab), not an APK. Google Play uses the bundle to generate optimized APKs for each device, so users download less.
In Android Studio: Build > Generate Signed App Bundle / APK > Android App Bundle. Or from the command line:
./gradlew bundleRelease
# output: app/build/outputs/bundle/release/app-release.aab
Before building, set up the release build type:
android {
defaultConfig {
applicationId = "com.example.myapp" // permanent: can never change after publishing
minSdk = 24
targetSdk = 36
versionCode = 1
versionName = "1.0.0"
}
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
}
The applicationId is the app's permanent identity on Google Play: choose it carefully. After turning on R8 (isMinifyEnabled), test the release build: missing keep rules are a common source of crashes that don't happen in debug.
3. Create the upload key and use Play App Signing
Apps are published with Play App Signing: Google keeps the key that signs the APKs delivered to users, and you sign your uploads with a separate upload key. Create the upload keystore in the signing wizard or with:
keytool -genkeypair -v -keystore upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
- Back up the keystore file and its passwords somewhere safe, outside the project folder;
- Never commit the keystore or its passwords to git; read them from
local.properties, environment variables or your CI secrets; - If you lose the upload key, Play App Signing lets you request a reset through the Play Console, which is much better than losing the app signing key itself.
4. Versioning
| Field | What it is | Rule |
|---|---|---|
versionCode | Internal integer used by Google Play | Must increase with every upload (1, 2, 3...); it can never be reused |
versionName | The version users see | Free text, usually 1.0.0, 1.1.0, 2.0.0 |
"Version code 1 has already been used" is one of the most common upload errors: increase versionCode and build again.
5. Target the required API level
Google Play requires new apps and updates to target a recent Android version, and the requirement moves up every year. Since August 31, 2026, new phone apps and app updates must target Android 16 (API level 36); Wear OS, Android TV and Automotive have their own minimums. Check Google's target API level page before each release, and test your app on the newest Android version, because raising targetSdk can change behavior (permissions, edge-to-edge display, background work).
6. Create the app in the Play Console
Click Create app and enter the app name, default language, whether it is an app or a game, and whether it is free or paid. A free app can't later become paid.
7. Store listing
- App name (up to 30 characters);
- Short description (up to 80 characters) and full description (up to 4,000);
- App icon: 512 x 512 px PNG;
- Feature graphic: 1024 x 500 px;
- Screenshots: at least 2 phone screenshots; add tablet ones if you support tablets;
- Category, contact email and, optionally, a website.
The listing is also your store SEO: describe clearly what the app does, in the words users search with.
8. App content: policies and declarations
In Policy > App content, Google Play asks for:
- Privacy policy: a public URL, required for virtually every app;
- Data safety form: what data the app and its SDKs (analytics, ads, crash reporting) collect and share. It must match what the app really does;
- Content rating: a questionnaire that generates age ratings;
- Target audience: if children are included, the Families policy applies;
- Ads: whether the app shows ads;
- App access: if features require login, test credentials for the reviewers;
- Permissions: declarations for sensitive permissions such as location in the background, SMS, call log or all-files access.
Most rejections come from this step: missing privacy policy, a Data safety form that doesn't match an SDK, or sensitive permissions without a real need.
9. Test before publishing
Google Play has three testing tracks:
- Internal testing: up to 100 testers, available within minutes, ideal for your team;
- Closed testing: a list of testers or groups you invite;
- Open testing: anyone can join from the store listing.
For personal accounts created after November 13, 2023, a closed test is mandatory: at least 12 testers must stay opted in for 14 days in a row before you can apply for production access, and then you answer questions about the test. Recruit a few more than 12, ask them to actually use the app, and avoid replacing the build many times during the test. Also check the Pre-launch report, which runs your app on real devices and reports crashes, accessibility and security issues.
10. Send for review and release
Create a release on the production track, upload the AAB, write the release notes and send it for review. Reviews often take a few days for new apps and accounts, sometimes longer. For updates, consider a staged rollout (for example 10%, then 50%, then 100%), so you can halt it if crash rates go up.
Common reasons for rejection or delays
- Missing or incomplete privacy policy;
- Data safety answers that don't match the app or its SDKs;
- Login-only features without test credentials for the reviewers;
- Sensitive permissions without a strong justification;
- Metadata problems: misleading name, keyword stuffing, copyrighted images;
- Target API level below the requirement;
- Crashes on launch.
Release checklist
- Release build tested, with R8 on;
versionCodeincreased;targetSdkat the required level;- Signed with the upload key, keystore backed up;
- Store listing, screenshots and icon ready;
- Privacy policy, Data safety, content rating and app access done;
- Tested on a testing track (and the closed test completed, for new personal accounts);
- Crash reporting in place to watch the first days.
Conclusion
Publishing on Google Play is a sequence of well-defined steps: account, signed App Bundle, versioning, target API level, store listing, policy declarations, testing and review. Most delays come from policy forms and, for new personal accounts, the 14-day closed test, so plan for them from the start. A well-structured app also makes reviews and updates easier: see coroutines and Flow, Room Database and Retrofit with JWT.
Frequently asked questions
Can I still publish an APK on Google Play?
Not for new apps. New apps must use the Android App Bundle format.
What happens if I lose my keystore?
With Play App Signing, you lose only the upload key, and you can request an upload key reset in the Play Console. Back it up anyway.
Why can't I publish to production with my new account?
Personal accounts created after November 13, 2023 must first run a closed test with at least 12 testers for 14 continuous days and then apply for production access.
How long does the Google Play review take?
Usually from a few hours to several days; new apps and new accounts can take longer.
Can I change the package name after publishing?
No. The applicationId is permanent; a different one is a different app.
Do I need a privacy policy if my app doesn't collect data?
In practice, yes. Most apps use SDKs that collect some data, and Google Play asks for a privacy policy URL during setup.