Skip to content

Prerequisites

SoftwareVersionPurpose
Node.js20 or laterRuntime for the MCP server
Android SDKLatestPlatform tools (adb), emulator, command-line tools
Java JDK17 or laterRequired for Gradle builds
VariableRequiredDescription
ANDROID_HOMEYes*Path to your Android SDK installation
JAVA_HOMERecommendedPath 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.

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
Terminal window
# Check Node.js
node --version # Should be >= 20
# Check ADB
adb --version
# Check Java
java --version # Should be >= 17
# Check Android SDK
echo $ANDROID_HOME