java.lang.UnsatisfiedLinkError ... couldn't find "xxx.so" 的原因以及解决方案

项目引用一个第三方so库时出现这问题, 百度谷歌搜了一大堆没什么鬼用, 于是跑去问技术支持. 一语点醒. 首先日志报的找不到64位的so库, 先确保已经在项目中的相应文件夹配置了.

java.lang.UnsatisfiedLinkError ... couldn't find "xxx.so" 的原因以及解决方案

之后的问题就极大可能是在build.grade文件配置中出了差错. 于是我打开该文件里看了下…

java.lang.UnsatisfiedLinkError ... couldn't find "xxx.so" 的原因以及解决方案

果然问题出在这里, 于是加上 “arm64-v8a” 后问题得到解决.

相关文章:

  • 2022-01-07
  • 2021-12-10
  • 2021-10-31
  • 2021-09-09
  • 2021-11-19
  • 2021-12-10
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2021-07-02
  • 2022-12-23
  • 2021-04-27
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案