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