Android 导入环信,初始化失败 java.lang.UnsatisfiedLinkError: Couldn't load hyphenate from loader dalvik.system

错误

06-13 15:06:51.813 8467-8467/com.wlkj.ciyun.sj E/AndroidRuntime: FATAL EXCEPTION: main
                                                                 Process: com.wlkj.ciyun.sj, PID: 8467
                                                                 java.lang.UnsatisfiedLinkError: Couldn't load hyphenate from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.wlkj.ciyun.sj-1.apk", zip file "/data/data/com.wlkj.ciyun.sj/code_cache/secondary-dexes/com.wlkj.ciyun.sj-1.apk.classes2.zip"],nativeLibraryDirectories=[/data/app-lib/com.wlkj.ciyun.sj-1, /system/lib]]]: findLibrary returned null
                                                                     at java.lang.Runtime.loadLibrary(Runtime.java:358)
                                                                     at java.lang.System.loadLibrary(System.java:526)
                                                                     at com.hyphenate.chat.EMClient.loadLibrary(Unknown Source)
                                                                     at com.hyphenate.chat.EMClient.getInstance(Unknown Source)
                                                                     at com.hyphenate.easeui.EaseUI.init(EaseUI.java:115)
                                                                     at com.wlkj.ciyun.sj.config.MyApp.onCreate(MyApp.java:52)
                                                                     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
                                                                     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4346)
                                                                     at android.app.ActivityThread.access$1500(ActivityThread.java:135)
                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
                                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                     at android.os.Looper.loop(Looper.java:136)
                                                                     at android.app.ActivityThread.main(ActivityThread.java:5019)
                                                                     at java.lang.reflect.Method.invokeNative(Native Method)
                                                                     at java.lang.reflect.Method.invoke(Method.java:515)
                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
                                                                     at dalvik.system.NativeStart.main(Native Method)

这里写图片描述

这是因为没有导入环信so文件的问题,把so文件导入clean就可以了

阅读更多
版权声明:清晨不起早,误一天的事;幼年不勤学,误一生的事。 https://blog.csdn.net/Dr_abandon/article/details/80680420
个人分类: 错误
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭