User Tools

Site Tools


tutorials:setup_android-native

This port is deprecated, use (non-native android)

This tutorial assumes that you already have successfully installed latest Android SDK and NDK. This tutorial explains how to build orx for android 2.3 and up using NativeActivity

1. Clone orx repository

 cd <MY_LIBS>
 hg clone https://bitbucket.org/orx/orx

2. Compile orx

 cd <MY_LIBS>/orx/code/build/android-native
 export NDK_MODULE_PATH=<MY_LIBS>
 ndk-build
 ./install.sh

3. Compile orxTest sample

 cd <MY_LIBS>/orx/code/demo/android-native
 export NDK_MODULE_PATH=<MY_LIBS>
 ndk-build

4. Import project in Eclipse

 Import an existing project into Workspace
 browse to <MY_LIBS>/orx/code/demo/android-native
 let eclipse build the project and deploy on your device
tutorials/setup_android-native.txt · Last modified: 2017/05/30 05:50 (4 months ago) (external edit)