Skip to content

Build Instructions

MicahCarrick edited this page Sep 6, 2012 · 4 revisions

Building for Android

We are using a customized version of the Android build script based on Using Ant to build your libgdx project.

Navigate to the android directory.

cd android

Create your local.properties for the android project.

android update project --path .

Build a debug APK.

ant debug

Install the APK onto a connected Android device or emulator and launch the main activity.

adb install -r build/agenthon-debug.apk
adb shell am start -n com.quixotix.agenthon/.MainActivity

Building for Desktop

Navigate to the desktop directory.

cd desktop

Run ant dist to compile the project and create a jar file including all dependencies. The jar file will be created in bin.

ant dist

You can then run the application with ant run or java -jar bin/agenthon.jar.

java -jar bin/agenthon.jar

Clone this wiki locally