当前位置: 首页 > 知识库问答 >
问题:

trigger.io分析通知ClassNotFoundException

王锐
2023-03-14

尝试使用parse.com模块(https://trigger.io/modules/parse/current/docs/index.html)注册接收通知时,我在trigger.io控制台中收到以下错误。我在Linux和OSX上使用了最新的trigger.io和最新的Android SDK。

我是不是漏了配置中的什么东西?

[FORGE] 'error subscribing to beta-tester notifications: {"message":"Forge Java error: ClassNotFoundException: Didn\'t find class \\"bolts.Task\\" on path: DexPathList[[zip file \\"/data/app/io.trigger.forge2172634a55fa11e5a76f12313b0234c0-1/base.apk\\"],nativeLibraryDirectories=[/data/app/io.trigger.forge2172634a55fa11e5a76f12313b0234c0-1/lib/x86, /vendor/lib, /system/lib]]","type":"UNEXPECTED_FAILURE","subtype":null,"full_error":"java.lang.ClassNotFoundException: Didn\'t find class \\"bolts.Task\\" on path: DexPathList[[zip file \\"/data/app/io.trigger.forge2172634a55fa11e5a76f12313b0234c0-1/base.apk\\"],nativeLibraryDirectories=[/data/app/io.trigger.forge2172634a55fa11e5a76f12313b0234c0-1/lib/x86, /vendor/lib, /system/lib]]\\n\\tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\\n\\tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\\n\\tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\\n\\tat com.parse.gz.a(Unknown Source)\\n\\tat com.parse.fb.c(Unknown Source)\\n\\tat com.parse.fb.g(Unknown Source)\\n\\tat com.parse.cx.s(Unknown Source)\\n\\tat com.parse.dt.a(Unknown Source)\\n\\tat com.parse.dr.a(Unknown Source)\\n\\tat com.parse.dr.a(Unknown Source)\\n\\tat io.trigger.forge.android.modules.parse.API.push_subscribe(Unknown Source)\\n\\tat java.lang.reflect.Method.invoke(Native Method)\\n\\tat io.trigger.forge.android.core.ForgeApp.callJavaFromJavaScript(Unknown Source)\\n\\tat io.trigger.forge.android.core.ForgeJSBridge$1.run(Unknown Source)\\n\\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\\n\\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\\n\\tat java.lang.Thread.run(Thread.java:818)\\n\\tSuppressed: java.lang.ClassNotFoundException: bolts.Task\\n\\t\\tat java.lang.Class.classForName(Native Method)\\n\\t\\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\\n\\t\\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\\n\\t\\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\\n\\t\\t... 15 more\\n\\tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available\\n"}'

共有1个答案

丁勇
2023-03-14

结果我没好好读文件。我无法添加facebook模块https://trigger.io/modules/facebook/current/docs/index.html。

请参见https://trigger.io/modules/parse/current/docs/index.html。

 类似资料:
  • 我无法通过parse.com正确设置推送通知。我相信我的推送是因为它们通过解析显示在我的推送日志中。但是,无论我的推送发送到哪里(app或仪表盘),“发送的推送”总是显示0。我知道这可能是一个复杂的任务,所以任何帮助将是非常感谢!下面是我的代码: AppDelegate.m InboxTableViewController.m ViewDidLoad

  • 我刚刚开始为Android和iPhone开发一个应用程序,使用和。现在我正试图向应用程序添加推送通知。我从的控制面板发送测试推送,但在我正在测试的Android手机上什么也没有发生。 我的config.json如下所示: 添加了以下代码来侦听传入的推送: 为了测试这个应用程序,我将我的Android手机通过USB线连接到我的Mac上,然后在浏览器的触发器工具包中选择“Run Android”(运行

  • 本文向大家介绍android通知栏的实现方法分析,包括了android通知栏的实现方法分析的使用技巧和注意事项,需要的朋友参考一下 本文实例讲述了android通知栏的实现方法。分享给大家供大家参考,具体如下: 这几天一直在修改twigee的源代码,其中一个要加入的功能是常驻Notification栏,以前写的时候只能出现 在“通知”这一组中,想把它放在“正在运行”组中却不知道怎么放,查了下官方文

  • 本文向大家介绍Android Notification通知解析,包括了Android Notification通知解析的使用技巧和注意事项,需要的朋友参考一下 Notification是显示在手机状态栏的通知,Notification通知是具有全局性的通知,一般通过NotificationManager来进行管理. 一般运用Notification的步骤如下: 1.调用getSysytemServ

  • 我在EclipseIDE中使用Equinox来运行一组包(其中一些是我的Eclipse工作集中的项目)。 启动Equinox后,我想运行一些服务。一种选择是使用工作正常的控制台,但是,我想在点击“运行”按钮后自动运行一些东西,而不是每次都在控制台窗口中再次写入命令。 我想运行的服务的另一个特殊之处是,它使用另一个只能在运行时解析的服务。在运行时,我的应用程序检查谁可以提供一些服务,并在服务提供者之

  •        在“分析”菜单栏中点击“通视分析”,在地面或者建筑物表面选择一点,然后鼠标移动到另一个位置点击结束,即可判断出两点间是否有障碍物,是否可见。通视分析结果显示空间距离、垂直距离、水平距离、起点海拔及两点之间是否可视。