1 Building for Android
Exverge edited this page 2024-03-30 01:31:45 +01: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 suyu with Git

git clone --recursive https://git.suyu.dev/suyu/suyu.git

suyu by default will be cloned into -

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

Building

  1. Start Android Studio, on the startup dialog select Open.
  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".
  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