Skip to content

Setting up macOS for Android builds

1. Install Homebrew, Java, Python, and CMake

  1. Install Homebrew:

    /usr/bin/ruby -e "$(curl -fsSL"
  2. Install Java 8:

    brew tap caskroom/versions
    brew cask install homebrew/cask-versions/adoptopenjdk8
  3. Install Python and CMake:

    brew install python3 cmake ninja

2. Install Android Studio

2.1 Download Android Studio

  1. Go to
  2. Click “Download Android Studio".
  3. Agree to the Terms and Conditions.

2.2 Complete the Installation

  1. Once the download is completed, open the DMG.
  2. Drag Android and drop it on the Applications folder icon.
  3. Open Android Studio using Finder or Spotlight.
  4. Follow the steps in the setup wizard.
  5. Stay on the "Welcome to Android" screen and complete the steps below to complete the installation.


It's sufficient to select the default setup type in the Android Studio Setup wizard. When asked, grant permission to the Intel HAXM installer to enable Android device emulation.

If Intel's HAXM installation fails, please download the latest release from and install it manually.

2.3 Install Android NDK

  1. On the “Welcome to Android” screen, click “Configure” and select “SDK Manager".
  2. Click on the “SDK Tools” tab.
  3. Select “NDK” from the list and click OK.
  4. A prompt appears asking you to confirm the change. Do so by clicking OK.
  5. Accept the NDK license agreement.
  6. The NDK component is being installed, grab another drink.
  7. After the installation has finished, click Finish. The installation is now complete.


In order to run boden, the studio command-line tool must be installed. Please follow the instructions shown when calling boden for the first time after Android Studio has been installed: Open Android Studio, open a project, and then select Tools => Create Command-Line Launcher.

Didn't work?

Please let us know. We're happy to help!