Expand description
Native libraries: ELF inspection and Android’s loading requirements.
ElfInfo::parse reads the facts that matter for packaging: the ABI,
PT_LOAD alignment (16 KiB page support), exported entry points, and
DT_NEEDED dependencies. NativePolicy decides how libraries are stored
and which requirements are enforced.
Structs§
- ElfInfo
- Packaging-relevant facts read from a shared library.
- Load
Segment - One
PT_LOADsegment. - Native
Policy - Requirements applied to packaged native libraries.
Enums§
- Library
Storage - How native libraries are stored in the APK.
- Native
Error - Why a native library cannot be packaged.
- Page
Size - A memory page size Android devices use.
Constants§
- GAME_
ACTIVITY_ ENTRY - The entry point
GameActivitycalls. - NATIVE_
ACTIVITY_ ENTRY - The entry point
android.app.NativeActivitycalls. - NDK_
SYSTEM_ LIBRARIES - The NDK’s stable system libraries, which apps may link against without packaging them, and the API level each first shipped in.