你好我有一個Linephone android源代碼的問題。線上電話爲我們提供了多個平臺的開源代碼。我目前正在使用Android的git Repository中的LinePhone android源代碼。引起:java.lang.UnsatisfiedLinkError:無法從加載器加載gnustl_shared dalvik.system.PathClassLoader findLibrary返回null
這裏我做了什麼。 1.結帳的源代碼的形式Git.url https://www.linphone.org/technical-corner/linphone/downloads
2.Open項目到Android Studio中 3.After成功打造它只是完全運行項目
其運行的成功,但我得到這個錯誤。
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? 讓我幫忙解決這個問題。
在此先感謝。