A hack for loading system libraries in Android Nougat where dlopen() has been disabled by some wise guys.
A sample app (written entirely in C) using the famous Freetype2 library to render character strings is included
as well as a trivial example explaining how to deal with Android C++ classes.
The main file "jni/fake_dlfcn.c" is intended for arm and aarch64 only but should be easily portable to other architectures as well.
To install, first edit the paths in "local.properties", then run "ant debug" and install the apk from the "bin/" directory to your device.
And yes, it's under MIT License.
csyjyy / nougat_dlfunctions Goto Github PK
View Code? Open in Web Editor NEWThis project forked from avs333/nougat_dlfunctions