调用LoadLibrary时程序崩溃,日志显示错误:
java.lang.UnsatisfiedLinkError: dlopen failed: "*/*/*.so" has unexpected e_machine: 40
解决方案:
在cmd中执行readelf -d libavcodec-57.so | grep NEEDED获得它需要的库,检查依赖库是不是都包含到项目中了
extra:
readelf -h *.so 查看so头信息
readelf -d libavcodec-57.so | grep NEEDED 查看so依赖库
手机扫一扫
移动阅读更方便
你可能感兴趣的文章