environment-setup-uiautomator2

Installation
SKILL.md

appium-uiautomator2-environment-setup

Goal

Prepare Appium UiAutomator2 by validating Node/Appium, Android/Java, doctor, and smoke checks until 0 required fixes needed.

Decision Logic

  • If host OS is not macOS, Linux, or Windows: stop.
  • If Node.js misses appium/appium-uiautomator2-driver engines: install active LTS.
  • If Appium CLI is not installed: install appium globally.
  • Use global npm/Appium (npm install -g appium, appium ...) unless the user asks for npx.
  • If appium resolves to an older Node-managed path than the active node/npm environment, reinstall Appium globally under the active Node runtime before continuing.
  • If Android SDK prerequisites are missing (adb, emulator, SDK packages): run environment-setup-android.
  • If requested, run environment-setup-ffmpeg or environment-setup-bundletool before final validation.
  • Report device/emulator inventory.
  • If the uiautomator2 driver is not installed: install it via Appium CLI.
  • If install returns "already installed", ignore the error and continue (or run driver update).
  • If appium driver doctor uiautomator2 reports missing dependencies: resolve each missing item and re-run doctor.
Installs
7
Repository
appium/skills
GitHub Stars
21
First Seen
May 12, 2026