Set up a private builder

Use your own computer or server to build Android apps instead of AICrea's hosted builders. No Android Studio or Java installation is needed on your computer: the builder runs inside Docker.

Private builders are not shared with other users, so there is no waiting for hosted resources.

On your computer, open aicrea.app/builder.
The instructions below are for a 64-bit Intel or AMD computer running Windows or Linux. We recommend at least 8 GB of RAM and 30 GB of free disk space. Keep the computer connected to the internet while building.

1. Configure AICrea on your Android device

  1. Open the Build tab and choose Private Builder from the options menu.
  2. Tap Generate to create a private builder key. Copy it and transfer it securely to your computer. The full key is shown only once.
  3. Turn on Use private builder.

Keep the key secret. Anyone with it can attempt to connect a builder to your account. Generating a new key revokes the old one.

2. Install and start the builder

Install and start Docker Desktop with Linux containers.

  1. Open Settings (the gear icon) in Docker Desktop.
  2. Select Extensions.
  3. Check Enable Docker Extensions.
  4. Uncheck Allow only extensions distributed through the Docker Marketplace, if checked. AICrea is currently distributed outside the Marketplace.
  5. Click Apply & restart.

Open Command Prompt or PowerShell and run:

docker extension install ghcr.io/aicrea-app/aicrea-builder-extension:latest

Review the installation prompt. This extension is distributed by AICrea outside the Docker Marketplace and has not been reviewed by Docker. Only install it if you trust AICrea and your Docker Desktop settings allow it.

Open AICrea under Extensions in the Docker Desktop sidebar. Paste your private builder key and select Start. No Windows scripts are needed.

The key is retained in the Docker container configuration. No inbound internet port or public IP is required.

3. Build your app

Return to the AICrea Build tab. Once the worker is connected, start a build normally. The first build may take longer to download Android and Gradle dependencies. Later builds reuse the workspace and caches.

Docker Desktop shows builder logs in the AICrea extension. Keep Docker Desktop and your computer running while you need the builder.

Manage your builder

In Docker Desktop, use the AICrea extension to Start, Stop or Update builder. Paste a new key and select Start to replace a revoked key.

Stop or update only when no build is running. Turn off Use private builder in AICrea to return to hosted builds. Stop the container if you no longer need it.

Remove the private builder completely

  1. Open the AICrea extension in Docker Desktop and select Remove builder. Confirm the removal. This deletes the local builder container, saved key, standard build workspace, SDK and Gradle caches, seed volume and builder image. Custom workspace mounts are preserved.
  2. In the AICrea Android app, open Builder setup, select Private, open its setup screen and revoke the key if you no longer need it. Select Hosted or another builder type to continue building.
  3. In Docker Desktop, open Extensions, select Manage, and uninstall AICrea. Alternatively, run the command below in Command Prompt or PowerShell.
docker extension rm ghcr.io/aicrea-app/aicrea-builder-extension:latest

Uninstalling the extension alone does not remove the builder workspace and caches. Your GitHub repositories and other Docker resources are unaffected by the removal procedure.

Update the extension itself

Open Command Prompt or PowerShell and run:

docker extension update ghcr.io/aicrea-app/aicrea-builder-extension:latest

After restarting your computer, start Docker Desktop and select Start in the AICrea extension.

Troubleshooting