【发布时间】:2016-12-27 17:57:18
【问题描述】:
大家好,我对 Linephone android 源代码有疑问。Linephone 为我们提供了多个平台的开源代码。我目前正在使用他们的 git Repository for android 中的 LinePhone android 源代码。
我做了什么。 1. 查看源代码表单 Git.url https://www.linphone.org/technical-corner/linphone/downloads
2.在Android Studio中打开项目 3.构建成功后直接运行项目
它完全运行成功但我得到了这个错误。
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gnustl_shared from loader dalvik.system.PathClassLoader[dexPath=/data/app/org.linphone-1.apk,libraryPath=/data/app-lib/org.linphone-1]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:51)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.lang.Class.forName(Class.java:172)
at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:47)
at org.linphone.LinphoneService.onCreate(LinphoneService.java:299)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529)
at android.app.ActivityThread.access$1600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
排队
System.loadLibrary("gnustl_shared");
老实说,我不知道为什么会出现此错误以及 gnustl_shared 是什么? 让我帮忙解决这个问题。
提前致谢。
【问题讨论】:
标签: android git linphone linphone-sdk