6 Building For Android
Matías Locatti edited this page 2023-11-03 21:51:42 -03:00

Note: These build instructions are a work-in-progress.

Dependencies

WINDOWS ONLY - Additional Dependencies

  • Visual Studio 2022 Community - 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 - Make sure to select Latest SDK.

Cloning yuzu with Git

git clone --recursive https://github.com/yuzu-emu/yuzu.git

yuzu by default will be cloned into -

  • C:\Users\<user-name>\yuzu on Windows
  • ~/yuzu on Linux
  • And wherever on macOS

Building

  1. Start Android Studio, on the startup dialog select Open.
  2. Navigate to the yuzu/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