# Google Play internal testing Android CI builds ARM64 packages with the checksum-pinned, headless HotSpot runtime and NDK r28c. The build verifies that the release bundle contains the worker and runtime and that its native libraries have 16 KiB ELF segment alignment. Eligible ARM64 devices use HotSpot for all three decompilers. ART remains the fallback on those devices. ## Set up the release environment 1. In the Google Cloud project for publishing, enable the Google Play Android Developer API and create a service account. In Play Console, invite its email under **Users and permissions** and grant it access to `com.njlabs.showjava` with **Release apps to testing tracks**. Create a JSON key for the service account and store it securely. [Play Developer API setup](https://developers.google.com/android-publisher/getting_started) 2. In the repository's GitHub settings, configure the `play-internal` environment. Under **Deployment branches and tags**, allow tags matching `play-internal/*`. 3. Add these environment secrets and variables. | Name | Kind | Value | | --- | --- | --- | | `PLAY_UPLOAD_KEYSTORE_BASE64` | Secret | Base64 encoding of the PKCS#12 upload keystore. | | `PLAY_UPLOAD_KEYSTORE_PASSWORD` | Secret | Password for the PKCS#12 upload keystore. | | `PLAY_SERVICE_ACCOUNT_JSON` | Secret | Contents of the publishing service account JSON key. | | `PLAY_UPLOAD_KEY_ALIAS` | Variable | Alias of the upload key in the PKCS#12 keystore. | | `PLAY_UPLOAD_CERT_SHA256` | Variable | SHA-256 fingerprint of the active **upload key certificate** in Play Console. | The upload key must be active under **App integrity** before publishing. GitHub uses it to sign the AAB. Play App Signing uses the app signing key for the APKs delivered to testers. [Play App Signing](https://developer.android.com/studio/publish/app-signing#app-signing-google-play) ## Publish a build Check that the `versionCode` in `app/build.gradle` is available in Play Console. Push a tag for that version code on the commit you want to release. For version code `40000`, run: ```sh git tag play-internal/40000 git push origin refs/tags/play-internal/40000 ``` The tag run builds and verifies its own bundle. The publish job signs that artifact, checks the upload certificate fingerprint, and commits the release with status `completed` on the `internal` track. Open the run in GitHub Actions and check the release in Play Console. Configure the tester list and share the opt-in link from **Testing > Internal testing**. [Set up internal testing](https://support.google.com/googleplay/android-developer/answer/9845334)