Install and use the Appium UiAutomator2 driver to automate an Android app

domain: appium.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install the Appium server: npm install -g appium
  2. Install the Android driver (Appium 2 ships with zero bundled drivers): appium driver install uiautomator2
  3. Optionally install a plugin the same way, e.g. appium plugin install images, then enable it at server start
  4. Extensions are tracked under the APPIUM_HOME directory (defaults to ~/.appium) in an extensions.yaml manifest
  5. Start the server (appium) and open a session with capabilities including automationName: UiAutomator2, platformName: Android
  6. Write the test with an Appium client library per the JS/Python/Java/Ruby quickstart docs

Known gotchas

Related routes

Auto-start and manage an Appium server for WebdriverIO mobile tests using @wdio/appium-service
mobile-automation · 6 steps · unrated
Manage Appium 2.x drivers and plugins from the command line
appium.io · 5 steps · unrated
Configure WebDriverAgent signing so Appium's XCUITest driver can run tests on a real iOS device
appium.github.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans