Android L (5.0) 不搜索“armeabi"或“armeabi-v7a"中的原生库;eclipse中的文件夹(UnsatisfiedLinkError) [英] Android L (5.0) does not search native libraries in “armeabi” or "armeabi-v7a" folder (UnsatisfiedLinkError) in eclipse

查看:32
本文介绍了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

这篇关于Android L (5.0) 不搜索“armeabi"或“armeabi-v7a"中的原生库;eclipse中的文件夹(UnsatisfiedLinkError)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆