Prerequisites
Required Software
Section titled “Required Software”| Software | Version | Purpose |
|---|---|---|
| Node.js | 20 or later | Runtime for the MCP server |
| Android SDK | Latest | Platform tools (adb), emulator, command-line tools |
| Java JDK | 17 or later | Required for Gradle builds |
Environment Variables
Section titled “Environment Variables”| Variable | Required | Description |
|---|---|---|
ANDROID_HOME | Yes* | Path to your Android SDK installation |
JAVA_HOME | Recommended | Path to your JDK installation (needed for Gradle builds) |
* If ANDROID_HOME is not set, the server also checks ANDROID_SDK_ROOT and the macOS default path ~/Library/Android/sdk.
Android SDK Components
Section titled “Android SDK Components”Ensure these SDK components are installed via Android Studio’s SDK Manager or command line:
- Platform Tools — includes
adb - Emulator — for creating and running AVDs
- Command-line Tools — includes
sdkmanager,avdmanager - At least one platform — e.g.,
platforms;android-35
Verify Setup
Section titled “Verify Setup”# Check Node.jsnode --version # Should be >= 20
# Check ADBadb --version
# Check Javajava --version # Should be >= 17
# Check Android SDKecho $ANDROID_HOME