atsushieno/fluidsynth-midi-service-j

The volume of APK caused by lib is too large. Is there a specific way to solve it?

Closed this issue · 5 comments

gpblg commented

The volume of APK caused by lib is too large. Is there a specific way to solve it?

quick solution ideas (not meant by either of them are doable without making changes to the sources):

  • Use AAB instead of APK to not include irrelevant native shared libs.
  • build single static libfluidsynth.so instead of bunch of glib dependencies.
gpblg commented

According to the phone processor type
Download the corresponding library from the network
Do you think it is feasible?
That is, dynamic loading xxx.so

gpblg commented

Take a look at how AAB works https://developer.android.com/platform/technology/app-bundle/

Thank you! Benefited!
I ask you to have time to build a single file of the library.
Compiled environment is complex + my technical skills are weak, it can not be compiled successfully!

Check out issue #12 .