- Android SDK
- Android NDK (revision 8b)
- Apache Ant
- SCons
SDL (1.2.15), libpng (1.2.50), lua (5.1.5), tolua++ (trunk)
Make a directory and clone Stratagus and libs repos to it:
mkdir _some_dir_
cd _some_dir_
git clone https://github.com/drodin/Stratagus.git
git clone https://github.com/drodin/SDL.git
git clone https://github.com/drodin/libpng.git
git clone https://github.com/drodin/lua.git
git clone https://github.com/drodin/toluapp.git
cd lua
make _platform_
You need to specify the platform to build for. Run make without params to see the list of supported platforms.
cd ../toluapp
scons
cd ../Stratagus/src/tolua
./runtolua.sh
cd ../../android
ndk-build
ant debug
Grab your .apk in the bin directory ;)