本文介绍了Android中的Quickblox聊天AndroidRuntime java.lang.NoClassDefFoundError:com.quickblox.chat.QBChatService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了quickblox ,其中我遵循所有这些规则与quickblox聊天在登录关闭例外错误

I have download quickblox quickblox-chat where I followed all these rules with quickblox-chat At Login closed with exceptions errors

现在我有异常日志这里

java.lang.NoClassDefFoundError: com.quickblox.chat.QBChatService
at com.quickblox.sample.chat.ui.activities.SplashActivity.onCreate(SplashActivity.java:41)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.Activity.performCreate(Activity.java:5104)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.ActivityThread.access$600(ActivityThread.java:141)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.os.Handler.dispatchMessage(Handler.java:99)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.os.Looper.loop(Looper.java:137)
02-25 11:11:55.251: E/AndroidRuntime(897):  at android.app.ActivityThread.main(ActivityThread.java:5041)
02-25 11:11:55.251: E/AndroidRuntime(897):  at java.lang.reflect.Method.invokeNative(Native Method)
02-25 11:11:55.251: E/AndroidRuntime(897):  at java.lang.reflect.Method.invoke(Method.java:511)
02-25 11:11:55.251: E/AndroidRuntime(897):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
02-25 11:11:55.251: E/AndroidRuntime(897):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
02-25 11:11:55.251: E/AndroidRuntime(897):  at dalvik.system.NativeStart.main(Native Method)
02-25 11:11:58.441: I/Process(897): Sending signal. PID: 897 SIG: 9

任何解决方案?

推荐答案

您还可以将两个jar文件添加到项目中的Libs目录,并清理和构建项目。

You can Also add Both jar file to Libs directory in project and clean and build project.

这篇关于Android中的Quickblox聊天AndroidRuntime java.lang.NoClassDefFoundError:com.quickblox.chat.QBChatService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 19:33