How to connect a native .so library in Android studio?

  • 0
    Good afternoon, I'm writing here because I've already rummaged through a bunch of literature on connecting native libraries in the form of .so files and I just can't figure out what needs to be done to link to the project.
    Initial conditions:
    there is some project in the form of four .java files and five library files libavcodec.so and four more .so files.
    From all my thoughts it turns out that in order to connect functions from the library, you need to know which functions will be used. But I have no idea what to look for. I just found the entire library can be connected using the -l switch.
    I'm a beginner, tell me how to connect and use library functions in java code using gradle and Android Studio.
    Thanks in advance. I'll give you some sample code later.
    Android Adalaide Gallegos, May 8, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!