Prerequisites
General Requirements
- Git - For version control
- Bash - For running build scripts (macOS/Linux native, Windows via WSL or Git Bash)
Android Development
- Java Development Kit (JDK) - Version 17 or higher
- Android SDK - With the following components:
- Android SDK Platform Tools
- Android SDK Build Tools (version specified in gradle)
- Android SDK Platform (API level specified in gradle)
- Android NDK (if building native code)
Your Android SDK directory should contain:
android-sdk/
├── build-tools/
├── cmdline-tools/
├── licenses/
├── ndk/
├── platform-tools/
├── platforms/
└── tools/
- Create
local.propertiesfile inside./commondirectory that locates the Android SDK installation directory
Sample local.properties on Windows:
Sample local.properties on Unix-like command-line:
Optionally, set godot.dir to use a Godot source tree at a custom location instead of the default ios/godot/:
iOS Development (macOS only)
- Xcode - Latest stable version recommended
- Xcode Command Line Tools - Install via:
xcode-select --install - SCons - Install via:
pip3 install sconsorbrew install scons - Python 3 - Required for SCons