[求助]请问有没有什么方法在android app直接调用基于glibc编译的arm linux so库?
请问谁知道有没有什么方法在android app直接以jni native的方式调用基于glibc编译的arm linux so库?android是bionic c,为什么这样问是因为要调用的so库是没有源码可以重新ndk编译的。搜到的相关帖子:http://blog.sina.com.cn/s/blog_4a471ff601010jgq.html
感谢分享,谢谢🙏 以前找到一个crazy_linker,可以动态加载so库,链接地址:https://chromium.googlesource.com/android_tools/+/8301b711a9ac7de56e9a9ff3dee0b2ebfc9a380f/ndk/sources/android/crazy_linker/。不过说明里有一段:System libraries are identified by name. Only the official NDK-official system libraries are listed. It is likely that using crazy_linker to load non-NDK system libraries will not work correctly, so don't do it.
页:
[1]