TOPIC 19/2216 MINNOT STARTED

Appium on a real phone and on an emulator: what differs and how to attach each

Learn what an emulated phone cannot copy, how to turn on developer mode on a real Android phone, and how to check that your computer can see the device.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a flight simulator and the real cockpit. The simulator is cheap and you can crash it. The cockpit has real switches, real heat and a real delay. You practice in the simulator. You still sit in the cockpit before you fly passengers.

Android Virtual Device (AVD) stands for Android Virtual Device. Universal Serial Bus (USB) stands for Universal Serial Bus. Android Debug Bridge (ADB) stands for Android Debug Bridge. Tom chooses an AVD definition, enables the appropriate USB debug switch on an authorized physical phone, and reads the ADB list to identify the target. An AVD combines a hardware profile, system image and other configuration; it is not just an image file.

The flight simulator and real cockpit picture helps choose complementary coverage. (OS) stands for operating system. A simulator can exercise many configurations and dialogs, while a particular can expose its own hardware/OS/integration conditions.

The picture has a limit. Neither one emulator nor one physical phone represents every user. An authorized ADB connection is not proof the OS has fully booted, the app is ready or the business test passed.

(SYNTHETIC / TRAINING ONLY: Daily List and every named person are invented.)

PLAIN WORDS · 2 in this section
debug
find and fix faults in a program
emulator
a program that acts like another device

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Select and prepare the intended emulator or authorized physical device and verify actual readiness and coverage.

  1. Simulator
  2. Plane
  3. List
Simulator

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The flight simulatorThe pretend phone
The real planeThe real phone
The pilot licence check at the doorThe trust prompt
The pre-flight listThe adb devices list

WHERE THIS PICTURE STOPS

  • Emulator and physical-device checks provide complementary bounded evidence, not universal coverage.
  • ADB connection state is separate from boot, app, instrumentation and business-result readiness.

HOOK

Simulator, plane, list.

TELL A FRIEND

A simulator and a real plane.

OFTEN MIXED UP WITH Appium gestures in Python: tap, swipe, long press and scroll. That topic writes gestures as code. This one runs the same code on a real phone and on a pretend one.

Sources & standards — 6 sources
  1. Implementation-specific

    Android developer options ↗ — Google (Android Developers) · Selected device/OEM-specific developer-options and USB-debugging setup (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Selected device/OEM-specific developer-options and USB-debugging setup. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  2. Implementation-specific

    Run apps on an Android hardware device ↗ — Google (Android Developers) · Selected authorized connection/debugging workflow and actual device setup (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Selected authorized connection/debugging workflow and actual device setup. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  3. Implementation-specific

    Android Debug Bridge ↗ — Google (Android Developers) · Actual device/serial states; device state does not establish full boot (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Actual device/serial states; device state does not establish full boot. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  4. Implementation-specific

    Create and manage Android virtual devices ↗ — Google (Android Developers) · AVD hardware profile, system image and configuration versus running emulator (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    AVD hardware profile, system image and configuration versus running emulator. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  5. Implementation-specific

    Run apps on the Android Emulator ↗ — Google (Android Developers) · Emulator purpose, target/configuration selection and bounded device coverage (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Emulator purpose, target/configuration selection and bounded device coverage. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  6. Implementation-specific

    UiAutomator2 8.7.0 README ↗ — Appium project · Android prerequisites/doctor; target and app capabilities; host ports; Chromedriver executable on server filesystem (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Android prerequisites/doctor; target and app capabilities; host ports; Chromedriver executable on server filesystem. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected backend/client/tool sections only; preserve the stated version and context boundaries. App and release-policy examples are synthetic, not observed production results.

PRACTISE AND KEEP

Sources for this topic — 6 sources
  1. Implementation-specific

    Android developer options ↗ — Google (Android Developers) · Selected device/OEM-specific developer-options and USB-debugging setup (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Selected device/OEM-specific developer-options and USB-debugging setup. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  2. Implementation-specific

    Run apps on an Android hardware device ↗ — Google (Android Developers) · Selected authorized connection/debugging workflow and actual device setup (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Selected authorized connection/debugging workflow and actual device setup. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  3. Implementation-specific

    Android Debug Bridge ↗ — Google (Android Developers) · Actual device/serial states; device state does not establish full boot (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Actual device/serial states; device state does not establish full boot. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  4. Implementation-specific

    Create and manage Android virtual devices ↗ — Google (Android Developers) · AVD hardware profile, system image and configuration versus running emulator (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    AVD hardware profile, system image and configuration versus running emulator. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  5. Implementation-specific

    Run apps on the Android Emulator ↗ — Google (Android Developers) · Emulator purpose, target/configuration selection and bounded device coverage (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Emulator purpose, target/configuration selection and bounded device coverage. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected Android device/configuration passages, not every manufacturer menu or a universal coverage guarantee.

  6. Implementation-specific

    UiAutomator2 8.7.0 README ↗ — Appium project · Android prerequisites/doctor; target and app capabilities; host ports; Chromedriver executable on server filesystem (selected actual primary sections read 7 November 2026; tagged source versions versus live Android/current API scopes are explicitly distinguished).

    Android prerequisites/doctor; target and app capabilities; host ports; Chromedriver executable on server filesystem. Selected backend/version/device scope, not every phone, provider or employer policy. · Checked 2026-11-07

    Selected backend/client/tool sections only; preserve the stated version and context boundaries. App and release-policy examples are synthetic, not observed production results.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.