Device setup
Actuator talks to Android over ADB and to the iOS Simulator over xcrun simctl. It finds both on its own in most setups, including inside MCP clients that do not inherit your shell PATH.
Check before you configure
If this shows green for the tool you need, skip the rest of this page.
drengr doctorAndroid
ADB is resolved in this order, first hit wins:
DRENGR_ADB_PATH, an explicit overrideANDROID_HOME/platform-tools/adb- Your shell profile PATH, sourcing
~/.zshrcor~/.bashrc - System PATH
If it is not found, pick one
Homebrew, which is the fastest:
brew install android-platform-toolsOr point at an existing Android Studio install, in your shell profile:
export ANDROID_HOME="$HOME/Library/Android/sdk"Or override the path outright, which always wins:
export DRENGR_ADB_PATH=/path/to/adbA standalone download from developer.android.com works too. Extract it and put the folder on your PATH.
Where ADB usually lives
| Setup | Path |
|---|---|
| macOS, Homebrew | /opt/homebrew/bin/adb or /usr/local/bin/adb |
| macOS, Android Studio | ~/Library/Android/sdk/platform-tools/adb |
| Linux, apt | /usr/bin/adb |
| Linux, Android Studio | ~/Android/Sdk/platform-tools/adb |
iOS Simulator
macOS only, and it needs the Xcode command line tools.
xcode-select --installIf Xcode is installed but simctl is still missing, the active developer directory is probably unset:
sudo xcode-select -s /Applications/Xcode.app/Contents/DeveloperPhysical iOS devices are not supported yet. Simulators only.
Connecting a device
Android, physical
- Settings, About Phone, tap Build Number seven times to unlock Developer Mode
- Settings, Developer Options, enable USB Debugging
- Connect over USB and accept the prompt on the device itself
- Confirm with
drengr doctor
Android, emulator
Start one from Android Studio's Device Manager, or from a terminal:
emulator -avd Pixel_7_API_34iOS Simulator
open -a SimulatorWait for the home screen. A simulator that is still booting does not appear in drengr devices yet.
Troubleshooting
ADB not found, but your terminal finds it
This is the most common one. MCP clients launch tool servers with a minimal environment that does not source your shell profile. Actuator works around it by spawning a login shell, but that only helps if the tool is on the PATH your profile sets, not just the PATH of the terminal session you happened to test in.
- Put ADB on the PATH in
~/.zshrcor~/.bashrc, not just the current shell - Or set
ANDROID_HOMEin that same profile - Or set
DRENGR_ADB_PATH, which skips detection entirely
Device connected but not detected
On Android, check adb devices directly. If it shows unauthorized, the prompt on the phone was not accepted. On iOS, give the simulator time to finish booting and try again.
Permission denied while installing
The installer needs write access to /usr/local/bin and will ask for sudo. To avoid that, install somewhere you own:
curl -fsSL https://drengr.dev/install.sh | INSTALL_DIR=$HOME/.local/bin bashStill stuck? drengr diag list shows the bundles saved on failed runs, already redacted on disk. See the CLI reference.