Native Bridge is implemented as a part of Android Runtime (ART) in the Android architecture. It is used to support running native libraries in a different processor architecture so that an application with native libraries can run on a broader range of devices. The Intel ARM translator called Houdini is one of the use cases of Native Bridge. In ART, there are two stages for the Native Bridge to be initialized:
- In the first stage, the Native Bridge is loaded in the system as part of the ART initialization process. This is common for all applications.
- In the second stage, when an application with native libraries is started, it will be forked from Zygote. At this time, the Native Bridge will be initialized and ready to be used for the application. This is a process that is specific for individual applications. For example, if there are no native libraries being used, Native Bridge won...