pjproject
pjproject copied to clipboard
Android Crash when load native lib pjsip, pjsua2 on android 7
Describe the bug
pjsip 2.11 built with bcg729, opus,. and everything do well but in andoird 7 ( api : 24) i got crash with error : Failed to load native lib pjsua2. Failed to load native library pjsua2 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__sendto_chk" referenced by "/data/app/com.sipsdk.demo-2/lib/x86/libpjsua2.so"...
Steps to reproduce
run project pjsua2
PJSIP version
2.11
Context
pjsip 2.11 built with bcg729, opus,. and everything do well but in andoird 7 ( api : 24) i got crash with error : Failed to load native lib pjsua2.
Log, call stack, etc
Failed to load native library pjsua2
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__sendto_chk" referenced by "/data/app/com.sipsdk.demo-2/lib/x86/libpjsua2.so"...
I have same isssue like you, and I rebuild pjsip just in arm64-v8a, armeabi-v7a, x86. And IT SOLVED. Will it help you.