Add Prefab Support for Easier Integration into Android Projects #1441
Replies: 1 comment
-
Apologize, I'm probably as far away from Android as you are from C++. I've read through the docs, looked at the examples, yet failed to build the oboe prefab example myself, so it's still not clear to me which problem exactly prefab is supposed to solve. From my understanding, prefab can generate cmake scripts and ndk-build scripts that are intended to ease consuming binaries. Generating cmake scripts seems redundant to me, because fluidsynth's buildsystem is already cmake-based and ships the proper scripts for integrating it into other cmake buildsystems, i.e. even without prefab you can ndk-build on the other hand seems to be exclusively used by the ndk. |
Beta Was this translation helpful? Give feedback.
-
First, I’d like to express my appreciation for the work you’ve done on this project. The library is incredibly useful, and I’m grateful for the effort that has gone into developing and maintaining it.
I’m currently trying to integrate the library into an Android project but have encountered challenges during the compilation and setup process. I believe that adding Prefab support could make the library much easier to integrate, similar to how Oboe offers support for Prefab.
Prefab is a feature in the Android Gradle Plugin that allows developers to package and consume prebuilt native libraries more easily. By providing prefab support, the library could be included directly in Android projects without requiring extensive manual setup.
To help clarify my request, here are some resources that might be helpful:
Prefab Documentation: https://google.github.io/prefab/
Oboe Prefab Example: https://github.com/google/oboe/tree/main/prefab
Prefab Publishing Example: https://github.com/android/ndk-samples/blob/main/prefab/prefab-publishing/mylibrary/build.gradle
While I understand that open-source contributions often depend on volunteers and contributors, I am unfortunately not a C/C++ specialist and cannot create a pull request for this myself. However, I’m happy to assist in testing or documenting the setup once implemented.
Thank you for considering this suggestion! I believe this addition would greatly improve the usability of the library for Android developers. Please let me know if there’s any way I can assist further or if more information is needed.
Beta Was this translation helpful? Give feedback.
All reactions