An external team provides me several .so files to use in my kotlin Android project.
These .so files are in a jniLibs directory.
In order to have access to some methods of these libraries, I’m going to create a main.cpp file that will contain JNI methods.
My question is the following: How do I build the lib.so that contains all external .so libs + my main.cpp file ? Should I do it with gradle, Android.mk or CMakeLists.txt ? And what this file must contain ?
Thank you in advance.
Source: Windows Questions C++