.linphone W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/linphone/core/FactoryImpl;
.linphone W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4160ec08)
.linphone W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "random" referenced by "libbctool
.linphone W/System.err: at java.lang.Runtime.loadLibrary(Runtime.java:364)
.linphone W/System.err: at java.lang.System.loadLibrary(System.java:526)
.linphone W/System.err: at org.linphone.core.FactoryImpl.<clinit>(Factory.java:621)
.linphone W/System.err: at org.linphone.core.Factory.instance(Factory.java:49)
.linphone W/System.err: at com.flyscale.linphone.services.LinphoneService.onCreate(LinphoneService.java:92)
.linphone W/System.err: at android.app.ActivityThread.handleCreateService(ActivityThread.java:2679)
.linphone W/System.err: at android.app.ActivityThread.access$1800(ActivityThread.java:151)
.linphone W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)
.linphone W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
.linphone W/System.err: at android.os.Looper.loop(Looper.java:136)
.linphone W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5375)
.linphone W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
2023-08-29 14:15:50.920 11690-11690/com.flyscale.linphone W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
.linphone W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:989)
.linphone W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
.linphone W/System.err: at dalvik.system.NativeStart.main(Native Method)
這是因?yàn)榫幾glinphone-sdk時(shí)使用的NDK版本與當(dāng)前運(yùn)行設(shè)備的Android版本不匹配導(dǎo)致的,例如我使用的設(shè)備是Android4.4,編譯NDK使用的r20计贰,于是降低為NDK-R18解決。