This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_android_tools_and_orx [2017/05/29 21:50 (7 years ago)] – external edit 127.0.0.1 | en: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 | + | <WRAP center round box 60%>This guide is based on Android |
- | The Android builds require GCC 4.9 which is in NDK r10e. | + | |
- | ====== Getting Android Studio | + | ====== Getting Android Studio ====== |
- | You will need to install the latest | + | You will need to install the Android Studio, Electric Eel from here: https:// |
- | Warning though, Android Studio is 887MB. | + | |
- | Once installed, | + | Once installed, |
- | Install | + | You will not have to download |
- | 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: | ||
+ | |||
+ | Close any console windows so that new console windows pick up the new environment variables. | ||
===== Getting the Orx repository ===== | ===== Getting the Orx repository ===== | ||
- | cd < | + | In order to develop orx games and application for Android you need to clone the orx repo. Following the [[en: |
- | | + | |
+ | ===== What's in the Orx repository? ===== | ||
- | There are two important things in the version of orx from bitbucket: | + | There are two important things |
- | 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: | + | You can now move to the next step: [[en:tutorials:android: |