Well, if you only do that, CMake would tell you that some libraries are missing. Until you fix them, the apk will never be built.
Cross-compilation is not easy, particularly for libraries not supporting it officially. However, most dependencies (those CMake complaining about) would have a cmake build system like rtabmap. So the make approach is similar.
To find the dependencies, look for them on Google, get the
source and build them with the android toolchain (android.toolchain.cmake).
Android NDK:
https://developer.android.com/ndk/downloads/index.htmlFLANN:
http://www.cs.ubc.ca/research/flann/ (cmake build)
EIGEN:
http://eigen.tuxfamily.org/index.php?title=Main_Page (no cmake, just make install in ~/android_install)
BOOST:
http://www.boost.org/ (see referred issue above to download a convenience cmake build file)
PCL:
http://pointclouds.org/ (cmake build)
cheers