configure: git
check: configure
- $(MAKE) check-windows check-autotools check-java
+ $(MAKE) check-windows check-autotools check-java check-android
check-%:
rm -rf _$@
$(MAKE)
false # Java is not compiled - either fix it or update README
+check-android:
+ android update project -p orte/libaorte
+ android update project -p orte/contrib/Robot_Demo
+ cd orte/libaorte && ndk-build
+ cd orte/contrib/Robot_Demo && ant debug
+ test -f orte/contrib/Robot_Demo/bin/RoboDruid-debug.apk
+
dist:
$(MAKE) VER=$(VER) dist-tarball dist-check
@echo "Tarball stored as orte-$(VER).tar.gz"
<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/contrib/Robot_Demo and do the same
+4) execute "android update project -p orte/libaorte" and
+ "android update project -p orte/contrib/Robot_Demo"
5) go to orte/libaorte and execute "ndk-build" - this builds native
code
6) go to orte/contrib/Robot_Demo and execute "ant debug" - this will prepare