Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help me with Issue in Android Build #1333

Open
anuragSingh5exceptions opened this issue Aug 29, 2024 · 3 comments
Open

Please help me with Issue in Android Build #1333

anuragSingh5exceptions opened this issue Aug 29, 2024 · 3 comments

Comments

@anuragSingh5exceptions
Copy link

HI team,
I love the work you have done
I'm currently exploring the app and attempting to build an Android APK, but I'm having difficulty finding the relevant documentation on how to accomplish this. As an Android developer, I'm very interested in working on this project, but its structure is quite different from typical Android app code, which makes it challenging for me to proceed.

Could you please provide guidance or direct me to the documentation that explains how to build the app?

@anuragSingh5exceptions anuragSingh5exceptions changed the title Issue in Android Build Please help me with Issue in Android Build Sep 2, 2024
@matlabbe
Copy link
Member

matlabbe commented Sep 5, 2024

Unfortunately, I was not an android developer, so the build is heavily cmake-based instead of using Android Studio.

The current Android pkg is built in CI following this script https://github.com/introlab/rtabmap/blob/master/docker/bionic/android/rtabmap_apiXX/rtabmap.bash

For convenience to have all dependencies ready for building, I suggest to open rtabmap in VSCode, then you will be asked if you want to open the dev container, click "Reopen in Container", then select "android":
image

Open a terminal and execute that script https://github.com/introlab/rtabmap/blob/master/docker/bionic/android/rtabmap_apiXX/rtabmap.bash from the root of rtabmap:
image

./docker/bionic/android/rtabmap_apiXX/rtabmap.bash /opt/android 30

image

To be able to install on android >=30, you need to sign the APK, you can follow instructions here: https://github.com/introlab/rtabmap/wiki/Installation#rtab-map-arcore-apk

cheers,
Mathieu

@anuragSingh5exceptions
Copy link
Author

Hi Mathieu,

Thanks for your reply, I need one more favor. Could you please provide the source code for the Android-specific functionality? If it's available in your repository, that would be great. I'm eager to learn and would appreciate your help understanding how it works.

Thank you!

@matlabbe
Copy link
Member

matlabbe commented Sep 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants