# Prerequisites

#### CMake GUI

For building, the tool cmake-gui is needed. Navigate to <span style="color: rgb(230, 126, 35);">[https://cmake.org/download/](https://cmake.org/download/)</span> and download the latest stable version for your PC, 64bit etition and install it.

#### Ninja build tool

For building android applications, yet another build tool is required.

- Navigate to <span style="color: rgb(230, 126, 35);">[https://ninja-build.org/](https://ninja-build.org/)</span> and download the ninja binary (yes, it’s only **ninja.exe**)  
    <div drawio-diagram="3103"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678168606.png" alt=""/></div>
- Save it at **C:\\Programs\\Ninja\\** and add this path to your **PATH** environment variable.

#### Android Studio

- Download the latest stable version of Android-Studio from Google and install it.
- Next, a special version of the Android-NDK is required because the newer ones are broken:  
    Navigate to: <span style="color: rgb(230, 126, 35);">[https://developer.android.com/ndk/downloads/older\_releases ](https://developer.android.com/ndk/downloads/older_releases)</span>and download the android-NDK-r17c as shown below.  
      
    <div drawio-diagram="3105"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678168826.png" alt=""/></div>
- Extract the downloaded zip file, rename the unpacked folder to **ndk-r17c** and move it to:  
    **%USERPROFILE%\\AppData\\Local\\Android\\Sdk\\**  
    This way, the NDK-r17c exists in parallel to the delivered one and will not be affected by updates.
- Set the environment variable **ANDROID\_NDK** to the path where you saved ndk-r17c:  
    here it is: **%USERPROFILE%\\AppData\\Local\\Android\\Sdk\\ndk-r17c\\**  
    This is mandatory for the toolchain file.
- Finally extend the **PATH** environment variable to the **platform tools directory**:  
    Here, this is **%USERPROFILE% \\AppData\\Local\\Android\\Sdk\\platform-tools\\**  
    This makes tools like **adb** available on **CMD**, which makes live a lot easier.