]> rtime.felk.cvut.cz Git - orte.git/commitdiff
ANDROID: add instructions to build
authorMartin Vajnar <martin.vajnar@gmail.com>
Fri, 13 Sep 2013 13:58:20 +0000 (15:58 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:29 +0000 (11:06 +0200)
android_compile [new file with mode: 0644]

diff --git a/android_compile b/android_compile
new file mode 100644 (file)
index 0000000..2aa129a
--- /dev/null
@@ -0,0 +1,14 @@
+To compile for Android you need:
+Android SDK, Android NDK, Java NDK, ant, make >= 3.81
+
+The Android SDK+NDK could be obtained from developer.android.com site.
+
+After you download and extract the files to some convenient location, there are several steps needed to compile the app:
+
+1)     add to your $PATH following locations: <ndk-folder>:<sdk-folder>/tools
+2)     go to <sdk-folder>/tools and execute "android"
+3)     download "SDK Platform" for "API 15" - Android 4.0.3
+4)     go to orte/libaorte and execute "android update project -p .", then go to orte/Robot_Demo and do the same
+5)     go to orte/libaorte and execute "ndk-build" - this builds native code
+6)     go to orte/Robot_Demo and execute "ant debug" - this will prepare Android .apk file signed with automatically generated debug key
+7)     the generated .apk is located in orte/Robot_Demo/bin/RoboDruid-debug.apk