3 Building For Android
Tobias edited this page 2023-06-14 15:03:37 +02:00

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

Dependencies

Windows - Additional Dependencies

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