Android L (5.0) 不搜索“armeabi"或“armeabi-v7a"中的原生库;eclipse中的文件夹(UnsatisfiedLinkError)
我的应用程序正在使用 2 个本机库,我们称它们为 LibA.so 和 LibB.so.以前我的应用在 kitkat 操作系统下运行良好,没有任何问题.
My app is using 2 native libraries, lets call them LibA.so and LibB.so. Previously my app was running well below kitkat OS without any problem.
现在它在带有 OS 5.0(棒棒糖)的 Nexus 5 中给出 UnsatisfiedLinkError两个 .so 库都在 armeabi 文件夹中.
Now It gives UnsatisfiedLinkError in Nexus 5 with OS 5.0(lollipop) Both .so library are in armeabi folder.
所以请给我常见的解决方案文件夹结构.
So please give me common solution folder stucture to follow.
我对 android 中的本地库比较陌生.提前致谢!
I am rather new to native libraries in android. Thanks in advance!
更新:它现在工作正常.通过将我的 LibA.so 文件链接更改为与 Md5_init 相关的调用获得了解决方案.在 Os 5.0 中,谷歌对系统库调用进行了一些更改谢谢大家的支持
update: It works fine now. Got a solution by changing my LibA.so file links to Md5_init related calls. In Os 5.0 google have made some changes in system lib calls Thank you all for your support
推荐答案
更新:现在可以正常使用了.通过将我的 LibA.so 文件链接更改为与 Md5_init 相关的调用获得了解决方案.在 Os 5.0 中,谷歌对 md5_init 文件的系统库调用做了一些更改谢谢大家的支持
update: It works fine now. Got a solution by changing my LibA.so file links to Md5_init related calls. In Os 5.0 google have made some changes in system lib calls to md5_init file Thank you all for your support
相关文章