Update Building For Android

zqpvr01 2024-03-22 12:27:24 +01:00
parent 429be0ac8a
commit e79ac0315c

@ -6,17 +6,17 @@
#### WINDOWS ONLY - Additional Dependencies #### WINDOWS ONLY - Additional Dependencies
* **[Visual Studio 2022 Community](https://visualstudio.microsoft.com/downloads/)** - **Make sure to select "Desktop development with C++" support in the installer. Make sure to update to the latest version if already installed.** * **[Visual Studio 2022 Community](https://visualstudio.microsoft.com/downloads/)** - **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](https://vulkan.lunarg.com/sdk/home#windows)** - **Make sure to select Latest SDK.** * **[Vulkan SDK](https://vulkan.lunarg.com/sdk/home#windows)** - **Make sure to select Latest SDK.**
### Cloning yuzu with Git ### Cloning suyu with Git
``` ```
git clone --recursive https://github.com/yuzu-emu/yuzu.git git clone --recursive https://git.suyu.dev/suyu/suyu.git
``` ```
yuzu by default will be cloned into - suyu by default will be cloned into -
* `C:\Users\<user-name>\yuzu` on Windows * `C:\Users\<user-name>\suyu` on Windows
* `~/yuzu` on Linux * `~/suyu` on Linux
* And wherever on macOS * And wherever on macOS
### Building ### Building
1. Start Android Studio, on the startup dialog select `Open`. 1. Start Android Studio, on the startup dialog select `Open`.
2. Navigate to the `yuzu/src/android` directory and click on `OK`. 2. Navigate to the `suyu/src/android` directory and click on `OK`.
3. In `Build > Select Build Variant`, select `release` or `relWithDebInfo` as the "Active build variant". 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'`. 4. Build the project with `Build > Make Project` or run it on an Android device with `Run > Run 'app'`.