Windows
Following describes how to build uoYabause Android version on Windows.
Requirements
Build step
- Obtain source code from github using git command
$ git clone https://github.com/devmiyax/yabause.git
-
Edit ANDROID_NDK PATH in "yabause/src/android/CMakeLists.txt" to indicate the directory where your ndk is installed.
-
Generate ninja build file
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=yabause/src/android/androidtoolchain.cmake
- Edit CMake settings using cmake-gui
env | value |
---|---|
ANDROID_ABI | armeabi-v7a with NEON |
ANDROID_NATIVE_API_LEVEL | 21 |
YAB_PORTS | android |
YAB_WANT_ARM7 | checked |
-
"Configure" and "Generate"
-
Exec command prompt and exec "vcvarsall.bat x86" for building using cl.exe
-
Exec AndroidStudio and import "yabause/src/android"
-
Build then apk is generated.