Android uses a completely different build process from the desktop platforms. Instead of invoking CMake directly, you build through Gradle and the Android SDK, which handles the NDK toolchain and CMake integration internally. The Android frontend lives inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/eden-emulator/mirror/llms.txt
Use this file to discover all available pages before exploring further.
src/android/.
Dependencies
You need the following tools installed before building:- Android Studio
- NDK 27+ and CMake 3.22.1 (install via SDK Manager → SDK Tools in Android Studio; see Android docs)
- Git
CMake 3.22+ is already bundled with the Android SDK, so you do not need a separate CMake installation for Android builds.
Windows-only additional dependencies
Clone the repository
Clone Eden recursively to include all submodules:C:\Users\<user-name>\edenon Windows~/edenon Linux and macOS
Building with Android Studio
Open the project
Start Android Studio. On the startup dialog, select Open, then navigate to the
eden/src/android directory and click OK.Select a build variant
Go to Build → Select Build Variant and select
release or relWithDebInfo as the Active build variant.Building from the terminal
Set up the SDK and NDK
Download the SDK and NDK from Android Studio’s SDK Manager, then export their paths:
A Java SDK is required. On Debian-based systems:
sudo apt install openjdk-17-jdkUsing the build script
A convenience script is provided at.ci/android/build.sh. On Windows, run it in Git Bash or MSYS2.
Example commands
Relevant CMake options for Android
The following CMake options from the CMake options reference are most relevant to Android builds. Pass them via-PYUZU_ANDROID_ARGS="-DOPTION=VALUE" or configure them in src/android/app/build.gradle.kts.
| Option | Default | Description |
|---|---|---|
YUZU_DOWNLOAD_ANDROID_VVL | ON | Download the Vulkan validation layer binary for Android |
YUZU_USE_BUNDLED_OPENSSL | ON (Android) | Download a bundled OpenSSL build |
YUZU_USE_BUNDLED_FFMPEG | ON (non-UNIX) | Download a pre-built FFmpeg |
ENABLE_UPDATE_CHECKER | OFF | Enable update checking functionality |
NIGHTLY_BUILD | OFF | CI-only flag for nightly distribution builds |