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
getting_android_tools_and_orx [2015/06/20 23:27 (9 years ago)] – Removed inaccurate statement iarwainen:tutorials:android:getting_android_tools_and_orx [2023/03/27 18:12 (12 months ago)] (current) – [Getting Android Studio] sausage
Line 1: Line 1:
-   This guide is based on Android 1.2.1.1 and NDK version r10. +<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 NDK used was slightly oldish compared to the latest Android Studio. +
-   This guide needs to be evaluated with the latest NDK release.+
  
-====== 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 setIf not, set one in the PATH variable to point to folder where the ndk-build command is located.+Close Android StudioYou do not need to open it ever again. 
 +===== 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 30: Line 35:
 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: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.1434868051.txt.gz · Last modified: 2017/05/30 00:50 (7 years ago) (external edit)