This guide is based on Android 184.108.40.206 and NDK version r10e. The Android builds require GCC 4.9 which is in NDK r10e.
You will need to install the latest Android Studio from here: http://developer.android.com/sdk/index.html Warning though, Android Studio is 887MB.
Once installed, and Android Studio runs for the first time, it will download a whole lot of SDK stuff for you. This will take time because it is another huge download time (yet, it's automatic).
Install the NDK from: http://developer.android.com/ndk/index.html
If your NDK was packaged as an installer, the environment variable would have been set. If not, set one in the PATH variable to point to folder where the ndk-build command is located.
cd <SOME_FOLDER_FOR_ORX> hg clone https://bitbucket.org/orx/orx
There are two important things in the version of orx from bitbucket:
1. Orx library for Android (we can compile this ourselves, even though one is supplied pre-compiled) 2. The Android Demo Project
The Orx library will need to be compiled for Android so that it can be used in other projects (like yours). The Android Demo will serve as a project template for your own project.
Let's do that now.
You can now move to the next step: Compiling orx and the Android demo for compiling orx, and testing if the demo project compiles and works on your device.