android6-7 Exercise 1: A signed bundle =================================== // app/build.gradle.kts (general knowledge; check the current DSL for your AGP) android { defaultConfig { applicationId = "com.yourname.notes" // permanent once published: choose it carefully minSdk = 26 targetSdk = 36 // docs (via a Play Help summary): new apps and updates must target API 36 or higher from 2026-08-31 versionCode = 1 // a whole number that must go up with every upload (general knowledge) versionName = "1.0.0" // what users see } } # In Android Studio: Build > Generate Signed Bundle / APK (docs), then: # 1. choose Android App Bundle # 2. create a NEW keystore and key (this is your UPLOAD key) # 3. keep the keystore file and its passwords somewhere safe, OUTSIDE the repository # 4. choose the release build variant and finish # # Docs (Android Studio / Play Help): # - bundles are signed with an upload key before upload; Play App Signing does the rest # - the upload key and the app signing key should be different # - suggested validity: at least 25 years # - a lost upload key can be reset through the Play Console # - register the Google-held app signing key's fingerprint with API providers (Maps, OAuth...) # - the signing key is fixed once the app is published to an open track or production # From the command line (general knowledge, not checked in these searches): ./gradlew bundleRelease # The .aab appears under app/build/outputs/bundle/release/ (check the path on your machine) Report: keystore path (outside the repository), where the backup lives, the bundle path. Do not upload. The versionCode rule and the bundle path are general knowledge, not checked here. Not run by me.