There was an error while loading. Please reload this page.
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.
android
cd android
Create your local.properties for the android project.
local.properties
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
Navigate to the desktop directory.
desktop
cd desktop
Run ant compile to compile the project into the bin folder.
ant compile
bin
Run ant run to run the application.
ant run
A distributable jar file with all the dependencies can also be generated in the bin folder using ant dist and then run with the java command.
ant dist
java
ant dist java -jar bin/agenthon.jar