Dmitry Reznik

Written by: Chief Technology Officer

Dmitry Reznik

Updated: 12.10.2026

24 min read

Android app testing is not simply checking whether an application works on one Samsung phone and the latest Pixel emulator. An Android release must handle different OS versions, manufacturers, screen configurations, hardware capabilities, permission models, network conditions, and application lifecycle states.

The goal is not to test every possible device combination. That would be impractical. The goal is to identify the configurations that create the most risk, cover them with the right mix of automated and manual tests, and monitor what happens after release.

This guide explains how to build that process – from selecting devices and testing permissions to using ADB, Espresso, Firebase Test Lab, and Google Play’s pre-launch report.

What is Android app testing?

Android app testing is the process of verifying that an application works correctly, securely, and consistently across the Android ecosystem.

It covers more than functional requirements. Android QA should also validate:

  • Different Android versions and API levels;

  • Manufacturer-specific Android implementations;

  • Phones, tablets, foldables, and other supported form factors;

  • Screen sizes, resolutions, and pixel densities;

  • Runtime permissions and privacy controls;

  • Application backgrounding and process termination;

  • Weak, unstable, or unavailable network connections;

  • Installation, updates, and Google Play distribution;

  • Device resources such as memory, storage, CPU, and battery;

  • Hardware features such as the camera, GPS, NFC, Bluetooth, and biometrics.

Android testing is part of the broader mobile app testing process, but it requires platform-specific coverage that a generic mobile checklist cannot provide.

Why Android app testing is different

Device and OS fragmentation

Android runs on devices produced by many manufacturers. Even two phones using the same Android version can behave differently because of custom operating system components, power-management rules, display settings, or preinstalled services.

A defect may therefore affect only a particular combination, such as:

  • A Samsung device running a specific Android version;

  • A low-memory phone with aggressive background process management;

  • A foldable device changing posture during a transaction;

  • A tablet using multi-window mode;

  • A device without Google Play services;

  • A phone with a different CPU architecture;

  • An application upgraded from an older production version.

Testing only the latest Android version on a high-end device can leave significant compatibility gaps.

Permissions change between Android versions

Android’s permission model has evolved considerably. Depending on the OS and target API level, users may be able to grant a permission only while using the app, allow it once, provide approximate rather than precise location, or revoke it later through system settings.

Notification, media, Bluetooth, location, camera, and microphone permissions also require different handling across Android versions. The application must remain usable when a user refuses optional access.

The operating system controls the application lifecycle

Android can pause, stop, or terminate an application process to reclaim resources. Users also switch between apps, rotate their devices, open notifications, receive calls, or lock the screen in the middle of an operation.

Testing must confirm that the application restores its state safely. A checkout, identity verification, file upload, or form should not become corrupted simply because the app moved to the background.

Distribution affects the final build

Teams often test a debug APK locally, while users receive an optimized build generated from an Android App Bundle. Google Play may deliver different split APKs according to the device’s language, screen density, and CPU architecture.

Release validation should therefore include the production-like, signed artifact delivered through a Google Play testing track – not only the build installed from Android Studio.

Create a risk-based Android device matrix

Trying to test every device and Android version produces a large matrix with little practical value. Prioritize configurations according to user exposure and business risk.

For an existing application, Google Play’s Reach and devices data can show how the install base, crash rate, and ANR rate are distributed across Android versions, RAM tiers, device models, and other attributes. Combine this information with product analytics, revenue data, support tickets, and target-market requirements.

A useful device matrix may include the following dimensions:

Dimension
What to include
Why it matters

Android version

Minimum supported version, most-used versions, latest supported version

Platform behavior and APIs change between releases

Manufacturer

Leading brands in the actual user base

OEM customizations can affect background work, notifications, and UI

Device performance

Low-, medium-, and high-end models

Reveals memory, CPU, rendering, and startup issues

Screen

Small phone, common phone, large phone, tablet, foldable if supported

Exposes clipping, scaling, orientation, and responsive-layout defects

Pixel density

Representative low, medium, and high densities

Affects images, icons, spacing, and touch targets

ABI

Architectures supported by the application

Native libraries may behave differently or be missing

Google services

Devices with and, where relevant, without Google Play services

Important for maps, location, authentication, messaging, and billing

Locale

Primary markets plus right-to-left and long-text languages where applicable

Reveals layout, formatting, and localization problems

Network

Wi-Fi, mobile data, limited bandwidth, latency, packet loss, offline

Validates retries, caching, recovery, and user messaging

Divide the matrix into practical tiers:

  • Tier 1: The most important real-device combinations, tested before every significant release.

  • Tier 2: Additional versions and screen configurations covered by emulators or cloud devices during regression.

  • Tier 3: Lower-usage and edge configurations tested periodically or after relevant platform changes.

Review the matrix regularly. The device mix that represented users six months ago may no longer reflect the current install base.

Android emulator vs real devices vs cloud devices

An effective Android testing process uses all three. Each environment solves a different problem.

Environment
Main advantages
Main limitations
Best use

Android Emulator

Fast setup, repeatability, snapshots, broad API and screen coverage, easy CI integration

Cannot perfectly reproduce physical hardware, OEM behavior, thermal conditions, or battery use

Development checks, automated regression, API-level and layout coverage

Local real devices

Highest fidelity for hardware, performance, interruptions, biometrics, camera, and manufacturer behavior

Limited device coverage, maintenance overhead, difficult parallelization

Exploratory testing, release validation, hardware and performance testing

Cloud device lab

Access to many physical and virtual configurations, parallel execution, CI support

Cost, queue time, remote-debugging limitations, dependence on provider availability

Scaled compatibility testing and scheduled regression

The Android Emulator can simulate calls, messages, location, network speed, rotation, sensors, and multiple form factors. It is a legitimate testing environment—not merely a developer convenience.

However, Google still recommends that teams test Android applications on real hardware before release. Physical devices are essential when results depend on camera quality, Bluetooth, NFC, biometrics, thermal throttling, battery consumption, GPU behavior, or manufacturer-specific system rules.

A practical approach is:

1.

Run fast checks and most automated tests on emulators.

2.

Run critical workflows on a small set of local real devices.

3.

Use a cloud lab to expand version and model coverage.

4.

Repeat final exploratory and performance testing on representative physical devices.

How to test an Android application step by step

1. Identify the product and platform risks

Start with what could cause the greatest harm – not with a generic list of test types.

For example, the highest risks may include:

  • Failed payments;

  • Loss of locally entered data;

  • Incorrect permission handling;

  • Broken authentication after an update;

  • Delayed notifications;

  • Excessive battery consumption;

  • Crashes on low-memory devices;

  • Inability to recover after a lost connection;

  • Incompatibility with the minimum supported Android version.

Connect each risk to test coverage, devices, environments, and release criteria.

2. Define supported configurations

Record the application’s:

  • Minimum supported SDK;

  • Target SDK;

  • Supported phones, tablets, foldables, TVs, or wearables;

  • Required and optional hardware features;

  • Supported orientations;

  • Languages and markets;

  • Required Google services;

  • Network assumptions;

  • Supported installation and update paths.

This prevents accidental testing against unsupported configurations while making important gaps visible.

3. Build the device matrix

Select devices from actual product data where possible. If the app has not launched, use the target audience, geography, pricing segment, competitor data, and expected hardware requirements.

Include at least:

  • The minimum supported Android version;

  • The most common version in the target audience;

  • The newest supported version;

  • A lower-memory device;

  • A representative high-usage manufacturer;

  • The main screen sizes;

  • Any required tablet or foldable configuration.

4. Prepare production-like environments and data

A test environment should reproduce the integrations used by the Android application, including authentication, APIs, push notifications, analytics, payments, maps, and deep links.

Prepare accounts for:

  • New and existing users;

  • Different subscription or access levels;

  • Blocked and expired accounts;

  • Users with incomplete profiles;

  • Large datasets and long histories;

  • Different regions and locales;

  • Failed or pending transactions.

Avoid making the primary regression suite dependent on unstable shared data.

5. Test installation, updates, and removal

Verify more than a clean installation.

Test:

  • First installation;

  • Installation with insufficient storage;

  • Update from the oldest supported production version;

  • Update from the immediately previous version;

  • Update while the user is signed in;

  • Migration of local databases and preferences;

  • Retention of downloaded content;

  • Changed permissions after an update;

  • Interrupted installation or download;

  • Uninstallation and reinstallation;

  • Installation from the intended Google Play testing track.

An Android App Bundle cannot be validated completely by treating it as an ordinary APK. Include the Play-delivered artifact or locally generated device-specific APKs in release testing.

6. Execute functional and integration tests

Cover complete user journeys, not only isolated screens. Validate both the Android interface and the services behind it.

A typical critical path might include:

1.

Install and launch the app.

2.

Create an account or sign in.

3.

Grant or deny the requested permission.

4.

Complete the main product action.

5.

Background and reopen the application.

6.

Change the network during the operation.

7.

Confirm the result through the API or connected system.

8.

Close and relaunch the application.

9.

Verify that the final state remains correct.

7. Test Android-specific behavior

Execute permission, lifecycle, notification, background-processing, configuration-change, and device-interaction scenarios. These checks are covered in more detail below.

8. Run non-functional testing

Validate:

  • Startup and screen-rendering performance;

  • Memory and CPU use;

  • Battery and network consumption;

  • Accessibility;

  • Security and local data storage;

  • Usability on different screen sizes;

  • Compatibility across the device matrix;

  • Recovery under resource pressure.

9. Automate repeatable checks

Automate stable, high-value scenarios at the lowest useful level. Do not make every regression dependent on slow end-to-end UI tests.

10. Validate the release in Google Play

Upload the release candidate to an internal or closed testing track, review the pre-launch report, run final smoke tests, and verify signing, app links, billing, push notifications, and analytics in the production-like build.

11. Monitor production quality

Testing does not end when the rollout begins. Monitor Android vitals, staged-rollout feedback, crash reports, ANRs, ratings, support requests, and device-specific changes.

Android-specific test scenarios

The following scenarios should form the core of an Android testing checklist.

Area
Important scenarios

Application lifecycle

Background and foreground the app, lock and unlock the device, kill and restore the process, return from Recents

Configuration changes

Rotate the device, resize a foldable or multi-window app, change font size, display scale, theme, locale, and time zone

Permissions

Allow, deny, deny repeatedly, allow once, grant approximate location, revoke in Settings, restore after auto-reset

Network

Start offline, lose connection during a request, switch between Wi-Fi and mobile data, introduce latency, retry after recovery

Notifications

Permission denied, app foregrounded or backgrounded, device locked, multiple notifications, expired action, deep-link destination

Storage

Low free space, cleared cache, cleared application data, unavailable external storage, large downloaded file

Interruptions

Incoming call, alarm, another app opening over the screen, screenshot, system dialog, biometric cancellation

Hardware

Camera unavailable, GPS disabled, Bluetooth disconnected, NFC unsupported, biometric enrollment changed

UI

Small screen, tablet, foldable posture, landscape mode, long text, large font, dark theme, keyboard open

Updates

Schema migration, retained session, changed feature flags, old cached data, changed permissions

Background work

Doze mode, battery saver, restricted background activity, delayed worker, device restart

Deep links

App installed or absent, authenticated or signed out, malformed parameters, expired destination

Do not execute every scenario against every device. Run broad functional coverage on a representative configuration, then target platform-sensitive scenarios across the relevant parts of the matrix.

How to test Android permissions

Permission testing should confirm both access and refusal paths. An optional feature must not make the entire application unusable when a user says no.

Google’s runtime permission guidance recommends requesting access in context, allowing the user to cancel, and degrading gracefully after denial. It also documents version-dependent behavior such as one-time access for location, microphone, and camera.

For each permission, verify:

1.

The application requests it only when the relevant feature is used.

2.

The explanation tells the user why access is needed.

3.

The feature works after permission is granted.

4.

The app remains stable after denial.

5.

A repeated denial does not create an endless prompt loop.

6.

The user can recover by enabling access in system settings.

7.

Revoking access while the application is installed does not cause a crash.

8.

The app handles limited access, such as approximate location.

9.

Permission state remains correct after an update.

10.

Features unrelated to the permission continue working.

Include version-specific checks for notifications, media access, Bluetooth, background location, camera, and microphone when the application uses them.

Using ADB for Android testing

The Android Debug Bridge lets engineers communicate with emulators and physical devices, install applications, execute shell commands, inspect logs, and manipulate application state.

Useful commands include:

Task
Example command

List connected devices

adb devices

Install or replace an APK

adb install -r app.apk

Remove an application

adb uninstall com.example.app

Clear application data

adb shell pm clear com.example.app

Stop the application

adb shell am force-stop com.example.app

Grant a runtime permission

adb shell pm grant com.example.app android.permission.CAMERA

Revoke a runtime permission

adb shell pm revoke com.example.app android.permission.CAMERA

View device and app logs

adb logcat

Inspect application memory

adb shell dumpsys meminfo com.example.app

Open a deep link

adb shell am start -W -a android.intent.action.VIEW -d "myapp://example"

Inspect package information

adb shell dumpsys package com.example.app

Replace the example package name, permission, and deep link with values from the application under test.

ADB is particularly helpful for reproducing clean-state scenarios. Instead of repeatedly reinstalling the app manually, a tester can clear data, grant or revoke permissions, force-stop the process, launch a deep link, and collect logs in a controlled sequence.

Types of Android app testing

Testing type
What it verifies

Functional testing

Features, calculations, validation, navigation, and business rules

Integration testing

APIs, authentication, payments, maps, analytics, messaging, and third-party SDKs

Compatibility testing

Behavior across Android versions, devices, manufacturers, screens, and hardware

UI testing

Layout, controls, gestures, orientation, themes, and configuration changes

Usability testing

Clarity, navigation, onboarding, error messages, and touch interaction

Accessibility testing

Labels, contrast, focus order, touch targets, scaling, and screen-reader behavior

Performance testing

Startup, rendering, responsiveness, memory, CPU, network, and battery use

Security testing

Authentication, local storage, traffic protection, permissions, and exposed components

Installation testing

Clean installation, updates, migration, interrupted installation, and removal

Interruption and recovery testing

Calls, backgrounding, process death, network loss, and device restart

Localization testing

Translations, text expansion, right-to-left layouts, dates, numbers, and currencies

The required mix depends on the product. A mobile game, banking application, navigation tool, and offline field-service app will not have the same risks.

Android test automation strategy

Google’s current Android testing strategy recommends many small tests and fewer large tests. This keeps feedback fast while reserving expensive device-level testing for scenarios that need greater fidelity.

A balanced suite can contain:

Local unit tests

Run on the development machine and validate isolated business logic, calculations, parsers, validators, and state transformations. They should be fast enough to run on every code change.

Component tests

Validate a screen, view model, repository, database component, or UI component with controlled dependencies. They provide more realistic feedback without requiring every external integration.

Integration tests

Verify communication between the application and databases, APIs, authentication providers, or Android platform services.

Instrumented UI tests

Run on an emulator or physical device. Use them for critical workflows, platform integration, and behavior that cannot be verified reliably at a lower level.

Release-candidate tests

Cover production-like builds, representative physical devices, Google Play delivery, performance, security, and exploratory risks.

Automation should run at different frequencies:

  • Unit and selected component tests on every commit;

  • Broader component and integration suites on each pull request;

  • Critical UI smoke tests on each candidate build;

  • Expanded device regression on a schedule;

  • Physical-device and exploratory testing before major releases.

Android app testing tools

Tool
Best suited for
Important consideration

JUnit

Local unit and integration tests

Best for application logic rather than full device behavior

Robolectric

Android-dependent tests on the JVM

Faster than device tests but not identical to a real Android runtime

Espresso

Native in-app UI testing

Strong synchronization and close integration with Android

Compose UI testing APIs

Jetpack Compose components and screens

Best fit for applications built with Compose

UI Automator

System UI, permissions, notifications, and cross-app flows

Operates outside the application process

Appium

Cross-platform Android and iOS automation

Useful for shared QA skills, but generally slower than native tests

ADB

Installation, state control, logging, and diagnostics

Command behavior can depend on the OS and device permissions

Firebase Test Lab

Automated testing on cloud-hosted physical and virtual devices

Device selection and parallelization affect execution cost

Android Studio Profiler

CPU, memory, network, and energy investigation

Best used with realistic builds and representative devices

Macrobenchmark and Perfetto

Startup, rendering, and system-level performance

Require controlled, repeatable measurement conditions

Play Console pre-launch report

Automated release-candidate checks

Helpful safety net, not a replacement for a product-specific suite

Espresso automatically waits for common UI synchronization conditions, which can make native interface tests more stable than scripts built around arbitrary delays.

Use UI Automator when a scenario must interact with system settings, permission dialogs, notifications, or another application. Unlike an in-process UI framework, it can operate outside the app under test.

Firebase recommends using virtual devices for frequent CI and regression checks while reserving physical Test Lab devices for significant releases and functionality that depends on real hardware.

For a broader comparison of commercial platforms, cloud services, and open-source frameworks, see our guide to mobile app testing tools.

How to use the Play Store pre-launch report

After an application bundle is uploaded, Google Play can exercise the application across multiple device configurations and generate a pre-launch report.

The report can reveal:

  • Crashes and ANRs;

  • Unsupported or restricted API usage;

  • Startup and loading problems;

  • Memory warnings;

  • Accessibility defects;

  • Missing content labels;

  • Low color contrast;

  • Small touch targets;

  • Device-specific failures.

Google’s guide to understanding the pre-launch report also provides device details, screenshots, videos, and stack traces for many reported issues. Google explicitly notes that the report cannot guarantee detection of every problem, so it should remain an additional release gate rather than the entire testing strategy.

If the application requires authentication, prepare test credentials and ensure the crawler can reach meaningful functionality. Otherwise, the report may cover little more than the sign-in screen.

Testing through Google Play tracks

A locally installed build does not reproduce every part of Google Play delivery. Test the signed release candidate through the store before production rollout.

Google Play currently provides:

  • Internal testing: Fast distribution to up to 100 selected testers;

  • Closed testing: Controlled distribution to defined groups;

  • Open testing: A publicly joinable pre-release program;

  • Production: Release to the selected markets.

The official Google Play release documentation explains how these tracks handle Android App Bundles and release preparation.

Use internal testing for rapid team validation, closed testing for controlled product or customer groups, and open testing when wider real-world feedback is appropriate. For higher-risk releases, follow testing tracks with a staged production rollout and active monitoring.

What to monitor after release

Pre-release testing cannot reproduce every user configuration. Production monitoring is part of Android quality engineering.

The current Android vitals thresholds classify a user-perceived crash rate of 1.09% and an ANR rate of 0.47% as overall bad behavior. The per-phone-model threshold for each is 8%. Exceeding core-vital thresholds can affect an application’s visibility on Google Play.

Treat these figures as maximum warning thresholds, not quality targets. A business-critical application should usually set stricter internal limits.

Monitor results by:

  • Application version;

  • Android version;

  • Device model;

  • Manufacturer;

  • RAM tier;

  • Country or region;

  • Critical user journey;

  • Release cohort.

A low overall crash rate can hide a severe defect affecting one popular device model. Segment-level monitoring is therefore as important as the aggregate result.

Android app testing checklist

Device and OS coverage

  • Minimum supported Android version tested

  • Most-used Android versions tested

  • Latest supported Android version tested

  • Priority manufacturers covered

  • Low-memory device included

  • Required screen sizes and densities covered

  • Tablet or foldable layouts tested where supported

  • Relevant CPU architectures verified

Installation and updates

  • Clean installation works

  • Production-like signed build tested

  • Update from previous versions works

  • Local database migration verified

  • User session and settings retained correctly

  • Low-storage behavior tested

  • Uninstallation and reinstallation verified

  • Google Play-delivered build tested

Functional behavior

  • Critical journeys pass

  • Validation and error messages are correct

  • API failures are handled safely

  • Duplicate submissions are prevented

  • Deep links open the correct destination

  • Offline and retry behavior works

  • Background and foreground transitions preserve state

  • Process termination does not corrupt data

Permissions and device features

  • Grant and denial paths tested

  • Repeated denial handled correctly

  • Permission revocation tested

  • Limited or one-time access tested where applicable

  • Camera, GPS, Bluetooth, NFC, or biometrics tested on real hardware

  • Missing or disabled hardware handled gracefully

  • Notifications tested in foreground, background, and locked states

UI and accessibility

  • Small and large screens covered

  • Portrait and landscape behavior verified

  • Dark theme tested

  • Large fonts and display scaling tested

  • Keyboard does not cover required controls

  • Screen-reader labels are meaningful

  • Touch targets and contrast are sufficient

  • Localization and long text do not break layouts

Performance and reliability

  • Cold and warm startup measured

  • Critical screens remain responsive

  • Memory use observed during long sessions

  • CPU and network consumption reviewed

  • Battery-sensitive workflows tested

  • Crashes and ANRs investigated

  • Low-resource behavior verified

  • Performance checked on a representative lower-end device

Release validation

  • Automated suite passes

  • Physical-device smoke test passes

  • Pre-launch report reviewed

  • Analytics and crash reporting verified

  • Signing and app links checked

  • Internal or closed-track testing completed

  • Rollback or mitigation plan prepared

  • Production monitoring dashboard ready

Common Android testing mistakes

Testing only on flagship devices

A high-end phone can hide memory pressure, slow rendering, storage constraints, and resource-management defects. Include at least one representative lower-end device.

Treating the emulator as either perfect or useless

Both positions are wrong. Emulators provide efficient and repeatable coverage, while physical devices provide the fidelity needed for hardware, performance, and OEM-specific behavior.

Covering only permission approval

Users deny and revoke permissions. A product that works only after every request is accepted has not been tested adequately.

Ignoring process death

Backgrounding an app is not the same as Android terminating its process. Verify that important state can be restored after the process is removed.

Automating only through the UI

A suite dominated by end-to-end scripts becomes slow and difficult to maintain. Move validation to unit, component, integration, and API levels wherever possible.

Testing only a debug APK

Debug and production builds may differ in shrinking, obfuscation, signing, configuration, analytics, and Play delivery. Validate the release candidate that users will actually receive.

Using the pre-launch report as the entire QA process

Automated crawling does not understand every business rule or know which user journey carries the greatest risk. It supplements – not replaces – purpose-built testing.

Conclusion

Strong Android app testing is based on risk, not on the size of a device list. Start with the devices and versions that matter to the product, use emulators for fast and repeatable coverage, and reserve real devices for the scenarios where physical behavior matters.

Then add Android-specific checks for permissions, lifecycle events, background restrictions, updates, device hardware, and Google Play delivery. Support them with layered automation, ADB-based diagnostics, pre-launch reporting, and production monitoring.

If your team needs broader device coverage or additional Android QA capacity, DeviQA’s mobile app testing services combine manual and automated testing across real devices, emulators, operating system versions, screen sizes, integrations, and network conditions.

See how your QA could grow with you

FAQ

What is Android app testing?

Android app testing verifies that an application functions correctly and remains secure, usable, compatible, and performant across supported Android versions, devices, screens, hardware, and real-world conditions.

Should Android apps be tested on emulators or real devices?

Both. Emulators are efficient for development, automated regression, API-level coverage, and layout checks. Real devices are necessary for hardware-dependent features, manufacturer-specific behavior, realistic performance, battery consumption, and final release validation.

How many Android devices should an application be tested on?

There is no universal number. Select devices according to the product’s install base, target markets, Android versions, manufacturers, screen sizes, hardware requirements, and business risks. A small, data-driven matrix is more useful than a large arbitrary list.

What is ADB in Android testing?

ADB, or Android Debug Bridge, is a command-line tool for communicating with Android devices and emulators. Testers use it to install apps, clear data, grant or revoke permissions, stop processes, open deep links, collect logs, and inspect device or application state.

Is Espresso only for Android?

Yes. Espresso is a native Android UI testing framework. It integrates closely with the Android testing ecosystem and is commonly used for automated interaction with views inside an application.

What should be automated in an Android app?

Prioritize stable, repeatable, business-critical scenarios. Keep most logic checks at the unit or component level, use integration tests for boundaries, and automate a smaller number of critical UI journeys on emulators and real devices.

What is the Google Play pre-launch report?

It is an automated report generated after an application build is uploaded to Google Play. It can identify crashes, ANRs, compatibility concerns, performance warnings, and accessibility issues across multiple device configurations.

How often should Android regression tests run?

Fast unit and component tests should run on code changes. Critical smoke tests can run for each candidate build, while broader device regression may run nightly, on demand, or before release. Major updates should also receive exploratory testing on representative physical devices.

Dmitry Reznik

About the author

Dmitry Reznik

Chief Technology Officer

Dmitry Reznik is the Chief Technology Officer and co-founder at DeviQA, bringing deep technical expertise across software architecture, implementation, and long-term system operation.