PJSUA2 sip android native app

百般思念 提交于 2019-11-29 11:20:58
java.lang.UnsatisfiedLinkError: Couldn't load libpjsua2.so from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.pjsip.pjsua2.app-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.pjsip.pjsua2.app-2, /vendor/lib, /system/lib]]]: findLibrary returned null

I had the same error. The android sample app tries to load this libpjsua2.so from the JNILIBs folder path but it couldnt find it so it throws the above error.Hope my answer helps someone .

I had the same problem. It seems you was building pjsip library using newest ndk. Try older version of ndk and rebuild pjsip.

I followed this https://github.com/VoiSmart/pjsip-android-builder link to build the pjsip hope it would help others but still facing some problems in video calling related.

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