introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.74k stars 779 forks source link

Tutorial building android app with Android Studio #212

Open yyfBlog opened 7 years ago

yyfBlog commented 7 years ago

Under windows, how to compile Android library files?

matlabbe commented 7 years ago

The best option would be to use Docker on Windows, as we never built it on Windows. See tango APK section here: https://github.com/introlab/rtabmap/wiki/Installation#docker

yyfBlog commented 7 years ago

How do I use the code on androidStudio?

matlabbe commented 7 years ago

To use with Android Studio, you would need to cross compile everything (all third party libraries) on Windows. I would suggest to create a Virtual machine with Ubuntu 16.04 on Windows, so you can follow directly the installation scripts used for Docker (you may change all "/root/" by "~/" for convenience) as some dependencies require custom patches: https://github.com/introlab/rtabmap/tree/master/docker/xenial/android

cheers, Mathieu

yyfBlog commented 7 years ago

Can you submit a tutorial for me?
thank you very much

matlabbe commented 7 years ago

I don't develop the Tango app on Windows or with Android Studio, so I changed the title of the issue for an enhancement.

yyfBlog commented 7 years ago

image

yyfBlog commented 7 years ago

why?

yyfBlog commented 7 years ago

or How do I get the file?(NativeRTABMap.so)

matlabbe commented 7 years ago

Follow instructions from https://github.com/introlab/rtabmap/wiki/Installation#rtab-map-tango-apk

heartzwh commented 6 years ago

@yyfBlog do u find the way develop with android studio? or on windows? thx