Android L (5.0) does not search native libraries in “armeabi” or quot;armeabi-v7aquot; folder (UnsatisfiedLinkError) in eclipse(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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android L (5.0) 不搜索“armeabi"或“armeabi-v7a"中的原生库;eclipse中的文件夹(UnsatisfiedLinkError)
基础教程推荐
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- Struts2 URL 无法访问 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
