Skip to main content
Version: 31 Aug 2023

Native Setup Overview

Overview

There are two main ways of building Native applications, a command line workflow and an Android Studio workflow. Use whichever you prefer, however both require the following prerequisite downloads.

Prerequisites

  1. Install the latest version of the Vulkan SDK.

  2. Install the latest Electric Eel version of Android Studio. (2022.1.1 Patch 2 at time of writing)

note

Make sure you have installed the Android SDK Tools, Android SDK Command Line, and Android SDK Platform Tools in Android Studio if they did not automatically download.

  1. Open the SDK Manager

You can find the SDK Manager by either selecting More Actions on the landing screen, or from the Tools dropdown from within a project.

SDK Manager Option in More Actions Dropdown
SDK Manager Option in Tools Dropdown
  1. Install Android SDK 10 (Q) API Level 29 under SDK Platforms.
Android SDK option in Android Studio
  1. Install Android NDK version 25.0.8775105 under SDK Tools.
tip

If you don't see different version options, check Show Package Details at the bottom right.

Android NDK option in Android Studio
  1. Install Cmake version 3.22.1 under SDK Tools.
CMake Option in Android Studio
note

You may need to install Ninja if you are getting errors that CMake can't find it:

"CMake Error: CMake was unable to find a build program corresponding to "Ninja"."

Please see here for details on how to install Ninja.