Parse platform 无法使用Parse.com推送通知服务在android设备上接收通知

Parse platform 无法使用Parse.com推送通知服务在android设备上接收通知,parse-platform,Parse Platform,我无法在android设备上接收通知。我在应用程序启动时看到以下错误消息 找不到从方法com.parse.ParseSQLiteCursor.getNotificationUri引用的方法android.database.Cursor.getNotificationUri 是否有任何指针?如果您的代码与上面的解析示例代码中的旧代码相似 // Specify an Activity to handle all pushes by default. PushService.setDefaultPus

我无法在android设备上接收通知。我在应用程序启动时看到以下错误消息

找不到从方法com.parse.ParseSQLiteCursor.getNotificationUri引用的方法android.database.Cursor.getNotificationUri


是否有任何指针?

如果您的代码与上面的解析示例代码中的旧代码相似

// Specify an Activity to handle all pushes by default.
PushService.setDefaultPushCallback(this, SavedVideoListActivity.class);
ParseInstallation.getCurrentInstallation().saveInBackground();
尝试在新的示例代码中选择此代码。()


你找到解决方案了吗?谢谢,成功了。我在清单文件中缺少正确的权限。
ParsePush.subscribeInBackground("", new SaveCallback() {
        @Override
        public void done(ParseException e) {
            if (e == null) {
                Log.d("com.parse.push", "successfully subscribed to the broadcast channel.");
            } else {
                Log.e("com.parse.push", "failed to subscribe for push", e);
            }
        }
    });