User Tools

Site Tools


getting_android_tools_and_orx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_android_tools_and_orx [2014/08/21 10:16 (6 years ago)]
sausage [Clone orx repository]
getting_android_tools_and_orx [2019/02/11 16:31 (16 months ago)] (current)
Line 1: Line 1:
-====== Getting android tools and orx ======+   This guide is based on Android Studio 3.1.3 and NDK version r17b.
  
 +====== Getting Android Studio and the NDK ======
  
-You will need to install the latest Android ​[[http://​developer.android.com/​sdk/​index.html|Eclipse ADT and SDK Bundle]] and [[http://​developer.android.com/tools/sdk/ndk/index.html|NDK]].+You will need to install the latest Android ​Studio from here: http://​developer.android.com/​sdk/​index.html 
 +Warning though, Android Studio is 887MB.
  
-When you have everything unpacked to your harddriveopen the SDK Manager and ensure ​you have the API 19 SDK checked and installed.+Once installedand 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.
  
-===== Clone orx repository ===== 
  
-   cd <​MY_LIBS>​ 
-   hg clone https://​bitbucket.org/​orx/​orx 
  
 +===== Getting the Orx repository =====
  
-There are two important things in the version of orx from bitbucket:+   cd <​SOME_FOLDER_FOR_ORX>​ 
 +   git clone https://​github.com/​orx/​orx
  
-    1. Orx library for android (we will need to compile this ourselves) +There are two important things provided in Orx repository:
-    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.+    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. Let's do that now.
  
-You can now move to the next step: [[en:orx:​tutorials:​setup_android|Compiling orx and the Android demo]] for compiling orx, and testing if the demo project compiles and works on your device.+You can now move to the next step: [[en:​tutorials:​setup_android|Compiling orx and the Android demo]] for compiling orx, and testing if the demo project compiles and works on your device.
getting_android_tools_and_orx.1408616201.txt.gz · Last modified: 2017/05/30 07:50 (3 years ago) (external edit)