This is an old revision of the document!
This guide is based on Android Studio 3.1.3 and NDK version r17b.
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> git clone https://github.com/orx/orx
There are two important things provided in Orx repository:
1. The Orx library for Android (we can also 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.