Functions

Adds given lib and all reletad libs into APK. Uses readelf, aapt tools

Resolves native library using search paths

Return all files in directory with .so ending

List all linked shared libraries

Update needed_libs hashset with given lib and all related libs. Note: libc++ is not a system lib. If you use libc++_shared.so, it must be included in your APK. https://developer.android.com/ndk/guides/cpp-support

Search dylibs in given deps_dir