Setting up Windows for Android builds¶
1. Install Python, CMake, Ninja, Git, and JDK 8¶
Download and install Python3 from https://www.python.org/downloads/ (ca. 25MB).
Important: Make sure to activate the “Add Python to PATH" checkbox at the bottom of the installer window.
Download and install CMake from https://cmake.org/download/ (ca. 19MB). We recommend using the latest win64-x64 stable release installer binary.
Important: When installing CMake, make sure to choose “Add the Cmake binary to the PATH environment variable”.
Download and install Ninja from https://github.com/ninja-build/ninja/releases. We recommend using the latest Ninja version.
Download and install git from https://git-scm.com/download/win (ca. 42MB). If you’re unsure about the available options presented in the installer, just keep the default settings.
Dowload and install JDK 8 from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (ca. 200MB).
2. Install Android Studio¶
2.1 Download and Install Android Studio¶
- Download Android Studio from https://developer.android.com/studio/ (ca. 1GB) and start the downloaded EXE file.
- Follow the steps in the setup wizard.
- 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.
2.2 Install Android NDK¶
- On the “Welcome to Android” screen, click Configure and select SDK Manager.
- Click on the SDK Tools tab.
- Select NDK from the list and click OK.
- Confirm the change by clicking OK in the popup window.
- Accept the NDK license agreement.
- The NDK component is being installed, grab another drink.
- After the installation has finished, click Finish. The installation is now complete.
Please let us know. We're happy to help!