March 2013
Intermediate to advanced
346 pages
8h 4m
English
Native code is compiled into binaries. Therefore, one set of binaries can only run on a specific architecture. Android NDK comes with techniques and tools to allow developers to compile the same source code for multiple architectures easily.
An Application Binary Interface (ABI) defines how the Android application's machine code is supposed to interact with the system at runtime, including the CPU instruction set, endianness, alignment of memory, and so on. An ABI basically defines a type of architecture.
The following table briefly summarizes the four ABIs supported by Android:
|
ABI name |
Support |
Not support |
Optional |
|---|---|---|---|
|
|
|