User Tools

Site Tools


en:tutorials:android: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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_android_tools_and_orx [2017/05/29 21:50 (7 years ago)] – external edit 127.0.0.1en:tutorials:android:getting_android_tools_and_orx [2023/03/26 21:31 (13 months ago)] sausage
Line 1: Line 1:
-   This guide is based on Android 1.2.1.1 and NDK version r10e. +<WRAP center round box 60%>This guide is based on Android Studio Electric Eel (which ships with SDK 33)Our scripts work with NDK 23.1.7779620</WRAP>
-   The Android builds require GCC 4.9 which is in NDK r10e.+
  
-====== Getting Android Studio and the NDK ======+====== Getting Android Studio ======
  
-You will need to install the latest Android Studio from here: http://developer.android.com/sdk/index.html +You will need to install the Android Studio, Electric Eel from here: https://developer.android.com/studio
-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).+Once installed, start Android Studio with Standard Setup options.
  
-Install the NDK from: http://developer.android.com/ndk/index.html+You will not have to download the NDK. Our build scripts will do this for you.
  
-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.+===== Set up required Environment Variables =====
  
 +Open your Windows Environment Variables and create the following two entries:
 +
 +  ANDROID_HOME=%LOCALAPPDATA%\Android\Sdk
 +  JAVA_HOME=C:\Program Files\Android\Android Studio\jre
 +
 +Close any console windows so that new console windows pick up the new environment variables.
  
  
 ===== Getting the Orx repository ===== ===== Getting the Orx repository =====
  
-   cd <SOME_FOLDER_FOR_ORX> +In order to develop orx games and application for Android you need to clone the orx repoFollowing the [[en:tutorials:orx:cloning_orx_from_github|Cloning Orx from Github and Initial Setup]] article first, so that you can get Orx setup and ready to be compiled. Then head back to here once done. 
-   hg clone https://bitbucket.org/orx/orx+ 
 +===== What's in the Orx repository? =====
  
-There are two important things in the version of orx from bitbucket:+There are two important things provided in Orx repository:
  
-    1. Orx library for Android (we can compile this ourselves, even though one is supplied pre-compiled)+    1. The Orx library for Android (we need to compile this ourselves)
     2. The Android Demo Project     2. The Android Demo Project
  
Line 29: Line 34:
 Let's do that now. Let's do that now.
  
-You can now move to the next step: [[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:android:setup_android|Compiling orx and the Android demo]] for compiling orx, and testing if the demo project compiles and works on your device.
en/tutorials/android/getting_android_tools_and_orx.txt · Last modified: 2023/03/27 18:12 (13 months ago) by sausage