To put an hand to the cowboy programmers that were linking to system libraries not part of that list, starting with Android 7, they will be terminated if they try to do so.
None of the stable NDK APIs are GNU/Linux specific and the POSIX layer isn't fully compliant with the standard, many APIs like e.g. SYS V IPC are missing.
Android apps are only allowed to link to these specific set of libraries.
https://developer.android.com/ndk/guides/stable_apis.html
To put an hand to the cowboy programmers that were linking to system libraries not part of that list, starting with Android 7, they will be terminated if they try to do so.
https://developer.android.com/about/versions/nougat/android-...
The only form of binaries allowed on a standard Android device are shared objects.
The Native Activity is actually just the native method calls of https://developer.android.com/reference/android/app/NativeAc... that loads a shared object with a predefined name.
None of the stable NDK APIs are GNU/Linux specific and the POSIX layer isn't fully compliant with the standard, many APIs like e.g. SYS V IPC are missing.
http://www.cs.columbia.edu/~vatlidak/resources/POSIXmagazine...
https://roxanageambasu.github.io/publications/eurosys2016pos...
Rooted devices don't count, as that is not what people get on the store when they buy an Android device.
reply