Skip to Content
Spawndroid

Quickstart

Create a workspace, upload an APK or start the sample app, run it on Android, and share it with someone outside your workspace.

This guide takes you from an empty workspace to a running Android device and a shareable link. You need a browser. Bring an APK or AAB when you have one; the sample app lets you skip that step.

Prerequisites

  • A Spawndroid account. The Hobby plan is active immediately and needs no payment details.
  • A modern browser.
  • An APK or AAB up to 512 MB, or the sample app (no build needed).

1. Create a workspace

Sign in at app.spawndroid.io and create an organization. A workspace holds your builds, runners, API keys, and members.

2. Upload a build

From the console, open Builds and select Upload APK or AAB. Drag in a universal .apk, or browse for one.

An .aab is accepted too. Spawndroid decodes its manifest and creates the build. When you start a session, the device host converts the bundle to a universal APK with bundletool before installing it.

No APK yet? From the dashboard, select Start the demo app. It seeds a sample build and opens a live device in one click, so you can skip to step 4.

To upload from a script or pipeline, use an API key and jq. The build goes straight to storage through a presigned URL:

APK=app-release.apk
AUTH="Authorization: Bearer $SPAWNDROID_API_KEY"
presign=$(curl -fsS -X POST https://app.spawndroid.io/api/apps/presign -H "$AUTH" \
  -H "Content-Type: application/json" \
  -d "{\"filename\":\"$(basename "$APK")\",\"size\":$(wc -c < "$APK" | tr -d ' ')}")
curl -fsS -X PUT "$(jq -r .url <<<"$presign")" \
  -H "Content-Type: $(jq -r .contentType <<<"$presign")" \
  --data-binary @"$APK"
curl -fsS -X POST https://app.spawndroid.io/api/apps -H "$AUTH" \
  -H "Content-Type: application/json" \
  -d "{\"key\":\"$(jq -r .key <<<"$presign")\",\"filename\":\"$(basename "$APK")\"}"

Spawndroid reads the manifest, extracts the icon and package name, stores the build, and returns the build record.

Uploading only stores the build. Nothing boots until you start a session, so a pipeline can push many builds without holding devices open.

3. Start a session

Open the build and select Start session. Choose a device from the matrix, then choose the language and orientation. Select Launch.

Spawndroid creates a device for the session, installs the build, and opens the live screen. The first boot usually takes under a minute.

You can tap, type, and scroll the app while the screen updates live. The console remembers your last device, language, and orientation.

Device-minutes start when the device is ready, not when you press Launch. Failed boots are free. The Hobby plan stops at 200 device-minutes per UTC month. See Plans and limits.

To run the build in CI instead, see CI tests.

4. Share the build

To give the build to someone outside your workspace, select Share in the build header and create a link. The recipient opens the link and selects Launch live demo. They do not need an account, an invite, or a seat.

By default, a share link is view only. Turn off View only if the recipient should control the device.

A link expires after 24 hours, 7 days, or 30 days. The longest option depends on your plan. Hobby allows one active link with a maximum lifetime of 24 hours. See Share a build.

5. Automate the build

To run automated tests, create an API key under API & CI/CD → API keys with the upload scope, then run the suite from any machine or pipeline with the CLI:

npx spawndroid init        # detect the project, write spawndroid.yaml + a GitHub workflow
npx spawndroid check       # key, APK, report and plan walls before the first run
npx spawndroid run         # upload → boot → test → JUnit → teardown

spawndroid is published on npm and needs Node 20 or newer. Run it with npx (nothing to install), install it globally with npm install --global spawndroid, or add it to the project as a dev dependency. Continue with the CI tests guide or the API reference.

Next steps

Was this page helpful?

On this page