Page:
Building-for-Android
No results
2
Building-for-Android
Bix edited this page 2025-04-27 09:15:14 +00:00
Note: These build instructions are a work-in-progress.
Dependencies
WINDOWS ONLY - Additional Dependencies
- Visual Studio 2022 Community - Make sure to select "Desktop development with C++" support in the installer. Make sure to update to the latest version if already installed.
- Vulkan SDK - Make sure to select Latest SDK.
Cloning Eden with Git
git clone --recursive https://git.eden-emu.dev/eden-emu/eden.git
Eden by default will be cloned into -
C:\Users\<user-name>\eden
on Windows~/eden
on Linux- And wherever on macOS
Building
- Start Android Studio, on the startup dialog select
Open
. - Navigate to the
eden/src/android
directory and click onOK
. - In
Build > Select Build Variant
, selectrelease
orrelWithDebInfo
as the "Active build variant". - Build the project with
Build > Make Project
or run it on an Android device withRun > Run 'app'
.
Building with Terminal
- Download the SDK and NDK from Android Studio.
- Navigate to SDK and NDK paths.
- Then set ANDROID_SDK_ROOT and ANDROID_NDK_ROOT in terminal via
export ANDROID_SDK_ROOT=path/to/sdk
export ANDROID_NDK_ROOT=path/to/ndk
. - Navigate to
eden/src/android
. - Then Build with
./gradlew assemblerelWithDebInfo
.