Modules

Functions

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

Aligns APK on 4-byte memory boundary. Uses zipalign build tools

Resolves native library using search paths

Generates unaligned APK with given manifest_path, assets and res. Uses aapt build tool

Return all files in directory with .so ending

Installs given APK in emulator or connected device. Runs adb install -r ... command

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

Signs APK with given key. Uses apksigner build tool