8000 RavEngine/README-android.md at master · RavEngine/RavEngine · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 1.4 KB

File metadata and controls

12 lines (10 loc) · 1.4 KB

Using RavEngine on Android

For every platform except Android, RavEngine can create a ready-to-go IDE project which can build and run a complete game with a single click. Unfortunately, Android requires some additional manual effort to make work.

  1. Download a copy of RavEngine's SDL Android Builder project and place it somewhere outside your game repository.
  2. Symlink your game repository into the sdl-android-builder/to-build directory.
  3. Modify your game's root CMakeLists.txt to change the main executable target such that:
  4. Open the root sdl-android-builder project in Android Studio. Make any changes necessary to app/build.gradle such that your project is able to compile. For example, minSDKVersion must be set high enough that Vulkan 1.3 is enabled.
  5. Press the green Run-Debug button in Android Studio. If all goes well, your game should boot up and begin running! If an exception occurs at runtime, you should get a breakpoint in Android studio.

The HelloCube example can be run on Android, if you want to compare your configuration to that one.

0