README.android
1To build for Android do next steps:
2
31. Install Java Development Kit (x86 version)
42. Install Android Studio and run it
53. Open an existing Android Studio project and navigate to the directory containing this README
64. Install Android NDK from the Android SDK Tools if not already installed
75. Install SDK Platform for your Android version
8
96. Set-up SDL libraries
10
11 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)
12
13 2. In SDL2_image/Android.mk, set SUPPORT_JPG and SUPPORT_WEBP to false.
14
15 3. In SDL2_mixer/Android.mk, set SUPPORT_MOD_MIKMOD and SUPPORT_MP3_SMPEG to false.
16
17