本文介绍了Quickblox聊天的机器人AndroidRuntime java.lang.NoClassDefFoundError的:com.quickblox.chat.QBChatService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有下载quickblox quickblox聊,我遵循所有这些规则与quickblox聊天在登录关闭有例外的错误
I have download quickblox quickblox-chat where I followed all these rules with quickblox-chat At Login closed with exceptions errors
现在我得到了异常日志这里
Now I got exception log Here
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
任何解决办法吗?
Any solution please?
推荐答案
您也可以在这两个jar文件的项目和清洁添加到libs目录和建设项目。
You can Also add Both jar file to Libs directory in project and clean and build project.
这篇关于Quickblox聊天的机器人AndroidRuntime java.lang.NoClassDefFoundError的:com.quickblox.chat.QBChatService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!