fixed crash bug in Android project when rotating device
[rocksndiamonds.git] / build-projects / android / README.txt
1 # -----------------------------------------------------------------------------
2 # Rocks'n'Diamonds for Android
3 # -----------------------------------------------------------------------------
4
5 Add the following content to build Rocks'n'Diamonds for Android:
6
7 Download and extract the following SDL libraries to the "jni" directory:
8
9 - jni/SDL2
10 - jni/SDL2_image
11 - jni/SDL2_mixer
12 - jni/SDL2_net
13 - jni/smpeg2
14
15 Copy the following repository directories to the "assets" directory:
16
17 - assets/conf
18 - assets/docs
19 - assets/graphics
20 - assets/levels
21 - assets/music
22 - assets/sounds
23
24 Create the file "local.properties" by executing "make ant-init".
25
26 When done, use "make" (or "make android" from the repository's root directory)
27 to compile and package the final Rocks'n'Diamonds APK file.