Android

This guide explains the process involved in creating projects when using Tier 2 for the Android platform. As the requirement is for Android 2.3.3 and above, you are able to code in native C/C++, rather than Java.

NOTE: This guide is intended to be used when compiling on Windows. However, it can be used on Linux with some adjustments. For example, instead of C:\AndroidDev\, you might use /home/[NAME]/AndroidDev/.

What you need

You will need to download the following files and packages. This assumes you have a 64-bit computer, if you have a 32-bit computer then download the 32-bit (x86) versions instead.

NOTE: The AGK Tier 2 files must be installed in a path with no spaces, otherwise the NDK will fail to compile the necessary files.

The Preparation sections only need be completed once. After that, you can just start from Creating a New Game Project.

Preparation: JDK

The following steps will show you how to install the JDK.

Preparation: Android NDK

The following steps will show you how to set up the Android NDK.

Preparation: Android Studio

The following steps will show you how to set up the Android Studio.

Preparation: Running On A Device

The following steps will show you how to setup your device for testing your apps.

Creating a New Game Project

The following steps will show you how to set up a new project. Once you've completed all the Preparation sections of this guide, this is where you should start from each time you want to make a new project.


Last Updated: 25th April 2018