Grab Free Heroes 2 sources with SVN from https://fheroes2.svn.sourceforge.net/svnroot/fheroes2/trunk/fheroes2 and put them here, in directory "fheroes2", then add option "-DAI_EMPTY" to the AppCflags in AndroidAppSettings.cfg, and compile with build.sh You will need Android SDK 2.2, NDK r4b, and "ant" tool. If you want AI code you should contact author of Free Heroes 2, this code is not open-source.