dlopen failed: library
·
一、问题描述
java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++.so" not found: needed by
当前我的是 android平台下的 jni 出错。提示缺少 xxx.so 库信息。
二、查找系统路径下的 so 库
在 android 平台下面, 进入到 adb shell 的环境下面
find /system -name libc++*
会提示出现,相关 libc++ 所在的路径
三、拉取so库到指定的路径下面
根据所在的路径,找到指定的 so 库,将指定的 so库信息,拉取到 本地。使用
adb pull /system/lib64/libc++.so C:\Users\hp\Desktop\ceshi\
更多推荐
所有评论(0)