Created Building for Android (markdown)

SachinVin 2022-09-15 15:10:23 +05:30
parent 4237074eaa
commit 462b61ca4a

23
Building-for-Android.md Normal file

@ -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\<user-name>\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