unable to load library at runtime in android application

心不动则不痛 提交于 2019-12-03 17:21:24

This error almost always says "Cannot find library" and there can be many reasons for this. What is annoying is that in most cases it is not the missing library but something else. Reasons I have stumbled upon:

  • library is missing from the directory (obviously),
  • library that is dynamically linked with your library is missing,
  • system library versions on the device/emulator that your library uses differ with those that you were linking against in compile time (missing symbols, etc.)

I have described a method that worked for me when resolving an issue with library that was working fine on emulator and was failing to load on Nexus One, maybe this will help you: http://mpigulski.blogspot.com/2010/09/debugging-dlopen-unsatisfiedlinkerror.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!