如何为 Android 构建正确的 *.SO 库?
我用 C++ 为 Android 编写了一个小型动态库
,当尝试打开该库时,出现错误:
dlopen failed: library "libFunct.so" not found ndk_StdJni_set State Code__I.in__
如何修复它,显然我需要从 NDK 添加一些头文件?
NDK从未使用过,我第一次尝试为android编写一个库, 在纯C
中,只有几个函数
NDK(JNI),我不需要它,也不打算使用它。
I wrote a small Dynamic library for Android in C++
When trying to open the library, an error occurs:
dlopen failed: library "libFunct.so" not found ndk_StdJni_set State Code__I.in__
How can I fix it, apparently me need to add some header file from NDK?
NDK has never been used, the first time I'm trying to write a Library for android,
In pure C
, just a couple of functions
NDK(JNI) I don't need it and don't intend to use it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论