The Azahar Android app is built with Android Studio and Gradle. The Gradle build invokes CMake internally to compile the native C++ core, so you do not need to run CMake manually. Most third-party C++ dependencies are included as Git submodules and compiled as part of the native build. The app targets Android 10 (API 29) and above, and produces native libraries forDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/azahar-emu/azahar/llms.txt
Use this file to discover all available pages before exploring further.
arm64-v8a and x86_64.
Azahar ships two product flavors: Vanilla and Google Play. The Vanilla flavor does not use Google Play file manager APIs, which makes it suitable for sideloading and F-Droid-style distribution. The Google Play flavor is intended for Play Store submissions. For most contributors, you want the Vanilla flavor.
Install Android Studio
Download and install Android Studio (any recent stable release). During the initial setup wizard, let Android Studio install its bundled SDK tools. You can also install Android Studio via JetBrains Toolbox if you prefer.Make sure the
ANDROID_HOME (or ANDROID_SDK_ROOT) environment variable is set to your SDK directory. Android Studio sets this automatically on most systems, but you can also set it manually:Install the Android NDK
The project requires NDK version 27.3.13750724. Install it through Android Studio’s SDK Manager:The NDK version is pinned in
- Open Android Studio and go to Settings → Languages & Frameworks → Android SDK.
- Click the SDK Tools tab.
- Check NDK (Side by side) and click Show Package Details.
- Select version 27.3.13750724 and click Apply.
sdkmanager:src/android/app/build.gradle.kts:Clone the repository with submodules
Clone the Azahar repository and initialize all submodules. The native build requires the C++ submodules (dynarmic, fmt, cryptopp, soundtouch, cubeb, zstd, and others), so do not skip this step:If you already cloned without
--recurse-submodules, initialize the submodules now:Open the Android project in Android Studio
Open the
src/android folder (not the repository root) in Android Studio:- Launch Android Studio and choose Open.
- Navigate to
azahar/src/androidand click OK. - Wait for Gradle to sync. Android Studio will download any missing dependencies declared in
build.gradle.ktsand compile the Kotlin plugin set.
ANDROID_HOME path is set.Build the APK
You can build from inside Android Studio or from the command line.
- Android Studio
- Command line (Gradle wrapper)
- Select the vanillaRelWithDebInfo build variant in the Build Variants panel (bottom-left). This is the default and is signed with the debug key, so you can install it directly without a release keystore.
- Click Build → Make Project (or press
Ctrl+F9/Cmd+F9). - To produce a distributable APK, go to Build → Build Bundle(s) / APK(s) → Build APK(s).
src/android/app/build/bundle/.Install the APK on a device
With your Android device connected over USB and USB debugging enabled, install the APK using Replace the filename with the actual APK name produced by your chosen build variant. You can list the build output to find the exact filename:Alternatively, copy the APK to your device and open it with a file manager to trigger installation. Make sure Install from unknown sources is enabled in your device’s security settings if you are sideloading the Vanilla flavor.
adb: