ShaunSocial mobile app guide 1.5.6 / Your app
Build for Android
This page takes the Android app from your own package name to Google Play: the package name and app name, signing, the release file and publishing. Read Build and brand your app first: it covers the tools, pointing the app at your site, the icon and splash screen, ads and version numbers. The site owner owns the Google Play account (Admin); the person who builds the app does the rest (Developer). Ordering the build from us? See Order your app: Google Play (Android).
Android: package name and app name#
Last updated: 2026-11-20 · v1.5.6
This page was written from the code of the ShaunSocial app 1.5.6. The build commands, Android Studio and Google Play Console were not run for this guide, and those tools rename their menus from time to time: look for the same words if a menu is named a little differently.
The Admin chooses the package name first (see App name, package name and bundle ID). Then enter it, and the app's name, here:
- Package name:
applicationIdinshaun_app/android/app/build.gradle. Leave thenamespaceline above it as it is: it names the app's code, not the app. - App name under the icon:
app_nameinshaun_app/android/app/src/main/res/values/string.xml.
Sign the Android app#
Last updated: 2026-11-19 · v1.5.6
Google Play accepts only signed apps. You sign with a keystore: a file holding your private key, protected by passwords you choose. You create it once and use it for every update.
- Create the keystore with Java's
keytool(the name, alias and validity are examples; it asks for the passwords and your details):keytool -genkey -v -keystore my-release-key.keystore -alias my-key -keyalg RSA -keysize 2048 -validity 10000 - Open
shaun_app/android/app/build.gradle. InsigningConfigs→release, setstoreFileto where your keystore is, andkeyAlias,keyPasswordandstorePasswordto yours. As shipped,storeFilepoints at a keystore in the folder that holdsshaun_app. - Build once (see Build the Android release file) to check the key is found.
The project signs test builds (flutter run) with the same key, so they need the keystore too.
Back them up outside your computer and never send them to anyone you would not trust with your app. Do not put the keystore or its passwords in a public code repository. With Play App Signing, which Play Console offers when you upload your first release, your keystore is only an upload key and Google can reset it if you lose it; without it, a lost keystore means you can never update the app again.
Build the Android release file#
Last updated: 2026-11-19 · v1.5.6
Google Play takes an Android App Bundle (.aab). In the shaun_app folder:
flutter build appbundle --release
What you should see: the file build/app/outputs/bundle/release/app-release.aab. Upload it
in Play Console (see Publish in Google Play).
To install the app on a phone without Google Play, for example to show it around, build an APK instead with
flutter build apk --release (file build/app/outputs/flutter-apk/app-release.apk). In-app purchases
do not work in such a copy (see Prepare an Android test phone).
If the build stops with a message that it cannot tree-shake icon fonts, add --no-tree-shake-icons to the
command.
Publish in Google Play#
Last updated: 2026-11-20 · v1.5.6
- The Admin creates the app in Play Console (Create app) and fills in the store listing, the content rating, the data safety form and the other items Play Console lists under Set up your app.
- The Developer uploads the
.aabto internal testing first (see Android: upload a build to internal testing), tests it, then promotes it to production.
Before the first review, also set up push notifications (see Push notifications) and, if you sell credits in the app, the in-app purchases (see In-app purchases: Google Play (Android)).
Change log#
Last updated: 2026-11-20 · v1.5.6
| Date (GMT+7) | Section | What changed |
|---|---|---|
| 2026-11-19 | all | First version for the ShaunSocial app 1.5.6, written from the 1.5.6 code, as part of Build and brand your app. The builds and the store steps were not run for this guide. |
| 2026-11-20 | all | Moved here from Build and brand your app when that page was split by platform; the facts are unchanged. New section titles: Android: package name and app name, and Publish in Google Play. |