Easy manual with example and step by step solution for port application to Android with using pelya's SDL if you use linux skip step 1 & 2 1) download & install andlinux - http://downloads.sourceforge.net/andlinux/andlinux-beta2-kde.exe with COFS option and shared folders 2) increase virtual file to 6 Gb or more with toporesize utility sudo resize2fs /dev/cobd0 3) use in linux console sudo apt-get install ant sudo apt-get install git-core //download pelya's sdl - https://github.com/pelya/commandergenius git clone git://github.com/pelya/commandergenius.git 4) download and extract needed component // download android ndk - http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2 // download android sdk - http://dl.google.com/android/android-sdk_r21-linux.tgz mkdir ~/sdk cd ~/sdk tar -xvf /mnt/win/android-ndk-r6b-linux-x86.tar.bz2 tar -xvf /mnt/win/android-ndk-r6-crystax-2-linux-x86.tar.bz2 tar -xzvf /mnt/win/android-sdk_r13-linux_x86.tgz cd ~ // Apache Ant - http://apache.infocom.ua//ant/binaries/apache-ant-1.8.2-bin.tar.gz cd ~ tar -xzvf /mnt/win/apache-ant-1.8.2-bin.tar.gz // create script for set environment for google ndk --- setenv-ag.sh --- #!/bin/sh export ANT_HOME=~/apache-ant-1.8.2 export PATH=~/sdk/jdk1.7.0_03/jre/bin:$PATH export PATH=~/sdk/apache-ant-1.8.2/bin:$PATH export PATH=~/sdk/android-ndk-r6b:$PATH export PATH=~/sdk/android-sdk-linux/tools:$PATH // download java jdk sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin 5) download android 4.2 api // use in linux console cd ~ . setenv-ag.sh android // in sdk-window select, download & install SDK Platform Android 3.1, API 12 // close window 6) fix correct path to sdk create file ~/commandergenius/project/build.properties //with correct path to sdk sdk.dir=/home/lubomyr/sdk/android-sdk-linux Now we have all environment istalled, and can try to port application for example use project newvox - http://www.libsdl.org/projects/newvox/ sourcecode - http://www.libsdl.org/projects/newvox/src/newvox-1.0.tar.gz cd ~/commandergenius/project/jni/application mkdir newvox rm src ln -s newvox src cd newvox tar -xzvf /mnt/win/newvox-1.0.tar.gz we must create 3 files: 1) AndroidAppSettings.cfg // this file will be created after run script ~/commandergenius/ChangeAppSettings.sh but we can create manually # The application settings for Android libSDL port AppSettingVersion=15 LibSdlVersion=1.2 AppName="newvox" AppFullName=org.libsdl.newvox ScreenOrientation=h InhibitSuspend=y AppDataDownloadUrl="Data size is 1 Mb|newvox-data.zip" SdlVideoResize=y SdlVideoResizeKeepAspect=n NeedDepthBuffer=n AppUsesMouse=y AppNeedsTwoButtonMouse=y AppNeedsArrowKeys=y AppNeedsTextInput=y AppUsesJoystick=n AppHandlesJoystickSensitivity=y AppUsesMultitouch=n NonBlockingSwapBuffers=n RedefinedKeys="SPACE RETURN PLUS MINUS TAB ESCAPE DELETE" AppTouchscreenKeyboardKeysAmount=0 AppTouchscreenKeyboardKeysAmountAutoFire=0 RedefinedKeysScreenKb="SPACE RETURN PLUS MINUS TAB ESCAPE DELETE" MultiABI=n AppVersionCode=100001 AppVersionName="1.00.00.01" CompiledLibraries="jpeg png" CustomBuildScript=y AppCflags='' AppLdflags='' AppSubdirsBuild='' AppUseCrystaXToolchain=n AppCmdline='' ReadmeText='^You may press "Home" now - the data will be downloaded in background' 2) AndroidBuild.sh #!/bin/sh LOCAL_PATH=`dirname $0` LOCAL_PATH=`cd $LOCAL_PATH && pwd` ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so if [ \! -f newvox-1.0/configure ] ; then sh -c "cd newvox-1.0 && ./autogen.sh" fi if [ \! -f newvox-1.0/Makefile ] ; then ../setEnvironment.sh sh -c "cd newvox-1.0 && ./configure --host=arm-linux-androideabi" fi make -C newvox-1.0 && mv -f newvox-1.0/newvox libapplication.so 3) icon.png 4) AndroidData/newvox-data.zip // if data short we can put data in apk, if data not present must use empty data zip // now we can try to run compile process cd ~ . setenv-ag.sh cd ~/commandergenius ./ChangeAppSettings.sh -a ./build.sh // if BUILD SUCCESSFUL we have Debug Package: /home/lubomyr/commandergenius/project/bin/DemoActivity-debug.apk