# HG changeset patch # User richarddeurtje@gmail.com # Date 1327364754 0 # Node ID cac9c38055974b91cb56b64cc8fb98a479924146 # Parent f56abd8cfc504a024bb945047e2df73a544748fb made the "Final" part a bit more readable diff -r f56abd8cfc50 -r cac9c3805597 HedgeroidGuide.wiki --- a/HedgeroidGuide.wiki Tue Jan 24 00:20:47 2012 +0000 +++ b/HedgeroidGuide.wiki Tue Jan 24 00:25:54 2012 +0000 @@ -32,7 +32,9 @@ You can use either the GUI, run android and follow the signs or from cli -{{{android create avd -n -t 4}}} +{{{ +android create avd -n -t 4 +}}} -n is a name of your choice -t stands for the target ID See this for more information @@ -56,8 +58,9 @@ ==Final== -Next we will create the scripts to compile hedgewars and move SDL directories first you’ll need to make sure cmake knows where all the compilers are +We will generate the Makefile.android, which is needed to compile hedgewars, download SDL and you’ll need to make sure cmake knows where all the compilers are +1.
Add `<`NDK`>`:`<`SDK`>`/platform-tools:`<`FPC`>`/compiler to your path, on debian based system I would do it as follows: {{{ @@ -68,6 +71,7 @@ (Check google on how to do it for your specific OS if you don't know how) +2.
Now we're gonna download sdl and a couple of its libraries, if you're on linux there's a script you can use {{{ cd /project_files/Android-build @@ -79,7 +83,8 @@ TODO: make script for windows and verify if it works for osx -Next you can use cmake to create the scripts +3.
+Finally you can use cmake to create the scripts {{{ cd @@ -93,7 +98,7 @@ }}} and it should be installed on your emulator/device if it was connected. -On the device/emulator start the application up :) +On the device/emulator you can start the application up :)