应用程序崩溃第一次整合quickblox时

时间:2016-12-15 04:31:49

标签: android quickblox

当我通过adb或apk在任何手机上安装它时,应用程序第一次崩溃。我正在粘贴堆栈的崩溃痕迹。

  

java.lang.RuntimeException:无法实例化服务   com.quickblox.messages.services.SubscribeTaskManager:   java.lang.ClassNotFoundException:没找到类   路径上的“com.quickblox.messages.services.SubscribeTaskManager”:   DexPathList [[zip文件   “/data/app/com.logicspice.favorit-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.logicspice.favorit-1,   / vendor / lib,/ system / lib]]                                                                                      在   android.app.ActivityThread.handleCreateService(ActivityThread.java:2738)                                                                                      在android.app.ActivityThread.access $ 1800(ActivityThread.java:155)                                                                                      在   android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1413)                                                                                      在android.os.Handler.dispatchMessage(Handler.java:110)                                                                                      在android.os.Looper.loop(Looper.java:193)                                                                                      在android.app.ActivityThread.main(ActivityThread.java:5388)                                                                                      at java.lang.reflect.Method.invokeNative(Native Method)                                                                                      在java.lang.reflect.Method.invoke(Method.java:515)                                                                                      在   com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:839)                                                                                      在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)                                                                                      at dalvik.system.NativeStart.main(Native Method)                                                                                   引起:java.lang.ClassNotFoundException:没找到类   路径上的“com.quickblox.messages.services.SubscribeTaskManager”:   DexPathList [[zip文件   “/data/app/com.logicspice.favorit-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.logicspice.favorit-1,   / vendor / lib,/ system / lib]]                                                                                      在   dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)                                                                                      at java.lang.ClassLoader.loadClass(ClassLoader.java:497)                                                                                      at java.lang.ClassLoader.loadClass(ClassLoader.java:457)                                                                                      在   android.app.ActivityThread.handleCreateService(ActivityThread.java:2735)                                                                                      在android.app.ActivityThread.access $ 1800(ActivityThread.java:155)                                                                                      在   android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1413)                                                                                      在android.os.Handler.dispatchMessage(Handler.java:110)                                                                                      在android.os.Looper.loop(Looper.java:193)                                                                                      在android.app.ActivityThread.main(ActivityThread.java:5388)                                                                                      at java.lang.reflect.Method.invokeNative(Native Method)                                                                                      在java.lang.reflect.Method.invoke(Method.java:515)                                                                                      在   com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:839)                                                                                      在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)                                                                                      在dalvik.system.NativeStart.main(本地方法)

1 个答案:

答案 0 :(得分:0)

崩溃痕迹明确指出罪魁祸首:

Didn't find class "com.quickblox.messages.services.SubscribeTaskManager" on path: DexPathList[[zip file "/data/app/com.logicspice.favorit-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.logicspice.favorit-1, /vendor/lib, /system/lib]]

如果您正在安装此未经修改的,则需要向库维护人员记录错误。在执行此操作之前,我会仔细阅读安装和需求文档,确保您已经遇到每个依赖项