forked from flareteam/flare-engine
-
Notifications
You must be signed in to change notification settings - Fork 12
/
README.android
16 lines (10 loc) · 655 Bytes
/
README.android
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
To build for Android do next steps:
1. Install Java Development Kit (x86 version)
2. Install Android Studio and run it
3. Open an existing Android Studio project and navigate to the directory containing this README
4. Install Android NDK from the Android SDK Tools if not already installed
5. Install SDK Platform for your Android version
6. Set-up SDL libraries
1. Download SDL2, SDL2_image, SDL2_mixer and SDL2_ttf and extract them to \jni\ folder (so it will be like jni\SDL2\src\SDL.c)
2. In SDL2_image/Android.mk, set SUPPORT_JPG and SUPPORT_WEBP to false.
3. In SDL2_mixer/Android.mk, set SUPPORT_MOD_MIKMOD and SUPPORT_MP3_SMPEG to false.