From 99443effe2555ebf059ff61f92ceb3f1de9bd585 Mon Sep 17 00:00:00 2001 From: Bix Date: Sun, 27 Apr 2025 09:15:14 +0000 Subject: [PATCH] Changed by Bix, Added CMD instructions. --- Building-for-Android.-.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Building-for-Android.-.md b/Building-for-Android.-.md index dea5dd6..1a549a9 100644 --- a/Building-for-Android.-.md +++ b/Building-for-Android.-.md @@ -19,6 +19,16 @@ Eden by default will be cloned into - 2. Navigate to the `eden/src/android` directory and click on `OK`. 3. In `Build > Select Build Variant`, select `release` or `relWithDebInfo` as the "Active build variant". 4. Build the project with `Build > Make Project` or run it on an Android device with `Run > Run 'app'`. +### Building with Terminal +1. Download the SDK and NDK from Android Studio. +2. Navigate to SDK and NDK paths. +3. 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`. +4. Navigate to `eden/src/android`. +5. Then Build with `./gradlew assemblerelWithDebInfo`. + + ### Additional Resources https://developer.android.com/studio/intro