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
Install the latest version of the Vulkan SDK.
Install the latest Electric Eel version of Android Studio. (2022.1.1 Patch 2 at time of writing)
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.
- 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.
- Install Android SDK 10 (Q) API Level 29 under SDK Platforms.
- Install Android NDK version 25.0.8775105 under SDK Tools.
If you don't see different version options, check Show Package Details at the bottom right.
- Install Cmake version 3.22.1 under SDK Tools.
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.