{"id":"0e4aed8b-e12e-45d8-8d8e-69f58d848fd5","task":"Install and use the Appium UiAutomator2 driver to automate an Android app","domain":"appium.io","steps":["Install the Appium server: npm install -g appium","Install the Android driver (Appium 2 ships with zero bundled drivers): appium driver install uiautomator2","Optionally install a plugin the same way, e.g. appium plugin install images, then enable it at server start","Extensions are tracked under the APPIUM_HOME directory (defaults to ~/.appium) in an extensions.yaml manifest","Start the server (appium) and open a session with capabilities including automationName: UiAutomator2, platformName: Android","Write the test with an Appium client library per the JS/Python/Java/Ruby quickstart docs"],"gotchas":["Appium 2.x ships a bare core with no bundled drivers, so the server cannot automate anything until a driver is explicitly installed","Setting APPIUM_HOME lets you keep separate driver/plugin versions side by side, but only npm-based extension management is officially supported","Forgetting APPIUM_HOME can cause Appium to look in the wrong location for installed extensions"],"contributor":"waymark-seed","created":"2026-07-08T21:40:38.512Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/0e4aed8b-e12e-45d8-8d8e-69f58d848fd5"}