Quick disclosure first: I work with DuoPlus, on the growth marketing side, and DuoPlus is the cloud phone I used while writing this. The steps below are generic, though. I'm not going to paste endpoint names here, because they differ by provider and they change. Read your provider's API docs for the real calls.
The problem I kept seeing: an Android build passes every unit test, gets merged, and then crashes on launch on an actual device because of a missing permission or a bad manifest merge. A real ARM Android cloud phone catches more of this than an emulator, and a pipeline can reach it.
Here is the shape of a smoke test that has worked for the teams I talk to. The example team is a composite, not one specific company.
1. Keep one dedicated device per pipeline
Don't share the smoke-test phone with the QA folks who poke at it manually. Give the pipeline its own cloud phone, name it something boring like ci-smoke-android15, and treat it as infrastructure. With DuoPlus each cloud phone is an isolated device environment, so the CI device doesn't inherit someone's half-configured test account.
If you need coverage across versions, keep one device per version you care about. DuoPlus offers Android 10, 11, 12 and 15, which is usually enough for a smoke pass.
2. Store the API credential as a CI secret
The API key goes in your CI secret store, never in the repo or a log line.
3. Make sure the device is up before you do anything
Your pipeline step should ask the provider's API for the device status and wait until it reports it is running. Add a timeout. If the device isn't ready in a reasonable window, fail the job with a clear message ("smoke device not ready") rather than letting a later step fail with something cryptic.
4. Install the fresh build
Most providers let you push an APK through the API or through an ADB connection. DuoPlus supports bulk app install, uninstall and launch, which is handy if you run the same smoke test on a few devices at once. Uninstall the previous build first. Leftover data from yesterday's run is the most common source of "it passed for me" confusion.
5. Launch and check three things
Keep it small on purpose:
- the app process starts and stays alive for, say, a short fixed wait you choose,
- the first screen renders (a screenshot or a UI dump is enough),
- no fatal crash shows up in the device log.
Anything more belongs in your full instrumented suite.
6. Collect artifacts, then reset
Upload the screenshot and the log tail as CI artifacts, pass or fail. Then uninstall the app so the device is clean for the next run. If your provider gives root access (DuoPlus does), you can also clear caches more thoroughly, but don't build the test around root unless you have to.
7. Watch the clock
DuoPlus bills per minute, so I'd rather the pipeline stop the device when it's done than leave it running overnight. Add a cleanup step that runs even when the job fails.
A small extra for login flows
If your app sends a verification SMS during sign-up, testing that path in CI is annoying. DuoPlus has cloud numbers that receive verification SMS, which some teams use to test their own app's sign-up flow end to end. Keep that as a separate, slower job, not part of the smoke test.
What the composite team ended up with
A pipeline step of a few dozen lines: wait for device, uninstall, install, launch, screenshot, grab logs, uninstall, stop. It runs on every merge to main. It doesn't catch everything. It catches the embarrassing stuff, which is what a smoke test is for.
Provider docs matter more than any blog post, including this one. DuoPlus has an API you can start from, and the browser, desktop and mobile clients make it easy to look at the device when a run fails. Teammates can open the same device through team one-click sharing to debug it. More at DuoPlus.


