Android App Builder Setup Guide

Set up your signing key and private GitHub builder, then turn any HTTPS website into a signed Android APK and Google Play AAB.

Go to App Builder

Quick setup summary

  1. Create your signing keystore (.jks) and keep the keystore password, key password and alias.
  2. Convert the .jks to Base64 using the converter on this page.
  3. Create the private GitHub builder files, including .github/workflows/build-public.yml.
  4. Add the four GitHub Secrets: KEYSTORE_BASE64, KEYSTORE_PASSWORD, KEY_PASSWORD and KEY_ALIAS.
  5. Create a fine-grained GitHub token for only the private builder repository with Actions: Read and write, Contents: Read and write and Workflows: Read and write.
  6. Open the App Builder, enter any HTTPS website and build the app.
That’s it. The builder automatically uses Bubblewrap when it finds a working service worker, otherwise it uses WebView.

1. Create your signing keystore

Create your upload keystore (.jks) using Android Studio or Java keytool. Save these four things safely:

Any HTTPS website can be built

Enter your website and the builder chooses automatically:

Both produce a signed APK and Google Play AAB.

2. Convert your .jks to Base64

πŸ”’
Private and offline: the selected file is processed only inside your browser. It is not uploaded anywhere.
No file selected.

3. Create the private builder repository

Create your private private-android-builder repository. Then choose Create new file and enter this as the file name:

.github/workflows/build-public.yml

Leave the file empty and save it. The App Builder will add the workflow for you when you build.

4. Add the GitHub secrets

Go to Repository Settings β†’ Secrets and variables β†’ Actions and add:

5. Create the fine-grained GitHub token

  1. GitHub β†’ Settings β†’ Developer settings β†’ Personal access tokens β†’ Fine-grained tokens.
    Open Fine-grained personal access tokens
  2. Set the token to No expiration so you do not have to create it again later.
  3. Select Only select repositories β†’ your private builder repository.
  4. Set Actions β†’ Read and write.
  5. Set Contents β†’ Read and write.
  6. Set Workflows β†’ Read and write.
  7. Generate the token and paste it into the App Builder when building. This is the only thing from your GitHub you need to keep safe.

Keep these private

Never publish your .jks, Base64 text, passwords or GitHub token. Keep the builder repository private.