From 462b61ca4a2e3a3543c347f6ac1069c23b97f207 Mon Sep 17 00:00:00 2001 From: SachinVin <26602104+SachinVin@users.noreply.github.com> Date: Thu, 15 Sep 2022 15:10:23 +0530 Subject: [PATCH] Created Building for Android (markdown) --- Building-for-Android.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Building-for-Android.md diff --git a/Building-for-Android.md b/Building-for-Android.md new file mode 100644 index 0000000..5e864c7 --- /dev/null +++ b/Building-for-Android.md @@ -0,0 +1,23 @@ +## Note: These build instructions are a work-in-progress. +### Dependencies +* [Android Studio](https://developer.android.com/studio) +* [NDK and CMake](https://developer.android.com/studio/projects/install-ndk#default-version) +* [Git](https://git-scm.com/download) +### Cloning Citra with Git +``` +git clone --recursive https://github.com/citra-emu/citra.git +``` +Citra by default will be cloned into - +* `C:\Users\\citra` on Windows +* `~/citra` on Linux +* And wherever on macOS +### Building +1. Start Android Studio, on the startup dialog select `Open`. +2. Navigate to the `citra/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'`. + +### Additional Resources +https://developer.android.com/studio/intro + + \ No newline at end of file