by WithinReason · 4y ago · 0 comments
The bytecode is platform agnostic, but the native code isn't.
When the app is installed or run for the first time, the bytecode is compiled on device and will run fine. But the native code from the package will have to be emulated if the app is to run. Since the native code might want to link with system libraries (libc etc), there needs to be a rather complex shim to keep everything working properly.