j20001970 / GDMP

Godot plugin for MediaPipe framework and solutions
MIT License
65 stars 13 forks source link

Build GDMP AAR #5

Closed Niko-shvets closed 2 years ago

Niko-shvets commented 2 years ago

Hi!

thank you for the project, it is very interesting, but can you pls describe in more detail what I should do in step number 5. I am not very familiar with android that's why it is not obvious to me.

Thank you in advance, Best

j20001970 commented 2 years ago

Hi, for building GDMP aar, there should be a android directory that is a Android Studio project, you should copy or symlink both godot-lib and mediapipe_aar built from step 3 to android/GDMP/libs as dependencies. Then build GDMP AAR using Android Studio (or just run gradlew build), it should located in android/GDMP/build/outputs/aar after build complete.

godot-lib AAR can be downloaded from godotengine website or copy/symlink from your project's android build template (located in android/build/libs/release)

EDIT: Android build template's godot-lib should be in android/build/libs/release

j20001970 commented 2 years ago

Hi @Niko-shvets , I updated the process of building GDMP aar and its instructions in README a while ago, now it should be simpler to build AAR since commit 9cb3792. I will close the issue for now, feel free to reopen if you have further questions on building GDMP Android plugin.