UnsatisfiedLinkError in pjsip library

与世无争的帅哥 提交于 2019-12-02 08:42:38
riaz hasan

It may happen for several reasons. First, check if you attached the native library correctly. For that create a folder named "jniLibs" into the projects

app/src/main/jniLibs

then put your armeabi architecture library like

armeabi/libpjsua2.so

for other architecture like armeabi-v7a use

armeabi-v7a/libpjsua2.so

like this.

there are other reasons may happen. If you build pjsip library for armeabi architecture only and running your application in an x86 architecture device then this error may occur. So check it also if you have built it for that application.

Please take a look at this thread: building pjsua2 dll

the important thing to know here is that the error you show in your question is caused by the fact that the pjsua2.dll (a c++ dll) is not in your output directory.

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