简体   繁体   English

由以下原因引起:java.lang.UnsatisfiedLinkError:无法从加载器dalvik.system.PathClassLoader findLibrary加载gnustl_shared返回null

[英]Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gnustl_shared from loader dalvik.system.PathClassLoader findLibrary returned null

Hello Guys i Have a Problem with the Linephone android source code.Linephone provide us Open Source code for multiple Platforms.i am currently working with the LinePhone android source code from their git Repository for android. 大家好,我对Linephone android源代码有问题。Linephone为我们提供了多个Platform.I的开源代码。我目前正在使用git仓库中的LinePhone android源代码。

Here What i Done. 我在这里做了。 1. Checkout the Source code form Git.url https://www.linphone.org/technical-corner/linphone/downloads 1.签出源代码表格Git.url https://www.linphone.org/technical-corner/linphone/downloads

2.Open The Project into Android Studio 3.After Successfully Build it Just Run the Project 2.将项目打开到Android Studio中3.成功构建项目后,只需运行项目

its Run Success fully But i got this Error. 它的运行成功完全,但我得到了这个错误。

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) 

At the Line 在线

System.loadLibrary("gnustl_shared");

honestly i dont know why i am getting this error and what is gnustl_shared ? 老实说,我不知道为什么会收到此错误,什么是gnustl_shared? Let me Help to solve this problem. 让我来帮助解决这个问题。

Thanks in Advance. 提前致谢。

Using your install manager (Depending on your device like aptitude or homebrew or macports ) install gnustl and gnu related (like libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 ) which is needed for liblinphone 使用安装管理器(取决于您的设备,如aptitudehomebrewmacports ),安装gnustlgnu相关文件(如libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

Refer : https://github.com/BelledonneCommunications/linphone-android#compilation-instructions 参考: https : //github.com/BelledonneCommunications/linphone-android#compilation-instructions

Couldn't find libtoolize, even though I have installed libtool in OSX Yosimite 即使我在OSX Yosimite中安装了libtool,也找不到libtoolize

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 java.lang.UnsatisfiedLinkError:无法从加载程序dalvik.system.PathClassLoader加载和enginephysicsbox2dextension…findLibrary返回null - java.lang.UnsatisfiedLinkError: Couldn't load andenginephysicsbox2dextension from loader dalvik.system.PathClassLoader… findLibrary returned null java.lang.UnsatisfiedLinkError:无法从加载程序dalvik.system.PathClassLoader加载echoprint-jni - java.lang.UnsatisfiedLinkError: Couldn't load echoprint-jni from loader dalvik.system.PathClassLoader java.lang.UnsatisfiedLinkError:无法从加载程序dalvik.system.PathClassLoader加载NativeMorphoSmartSDK_6.13.2.0-4.1 - java.lang.UnsatisfiedLinkError: Couldn't load NativeMorphoSmartSDK_6.13.2.0-4.1 from loader dalvik.system.PathClassLoader 无法加载vlcjni库:java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader [DexPathList找不到“ libvlcjni.so” - Can't load vlcjni library: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList couldn't find “libvlcjni.so” java.lang.UnsatisfiedLinkError:无法从加载器中加载findLibrary返回null - java.lang.UnsatisfiedLinkError: Couldn't load from loader findLibrary returned null java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader - java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader AndroidRuntime引起:java.lang.unsatisfiedLinkError:无法加载tfp_jni:findLibrary返回null - AndroidRuntime Caused by: java.lang.unsatisfiedLinkError: Couldn't load tfp_jni: findLibrary returned null java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader [DexPathList - java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList Android java.lang.UnsatisfiedLinkError dalvik.system.PathClassLoader - Android java.lang.UnsatisfiedLinkError dalvik.system.PathClassLoader PID:15208 java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader - PID: 15208 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM