Quickblox-chat in android AndroidRuntime java.lang.NoClassDefFoundError: com. quickblox.chat.QBChatService[英] Quickblox-chat in android AndroidRuntime java.lang.NoClassDefFoundError: com.quickblox.chat.QBChatService

本文是小编为大家收集整理的关于Quickblox-chat in android AndroidRuntime java.lang.NoClassDefFoundError: com. quickblox.chat.QBChatService的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

下载了Quickblox关闭以异常错误

source Project 库 Order和Export project属性

现在我在这里有异常日志

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目录和清洁和构建项目中.

本文地址:https://www.itbaoku.cn/post/102765.html

问题描述

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

source project libraryes order and export project property

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?

推荐答案

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