Android解析saveInBackground/subscribeInBackground不工作

Android解析saveInBackground/subscribeInBackground不工作,android,parse-platform,push-notification,Android,Parse Platform,Push Notification,所有发生在后台的解析工作似乎都没有发生。。。我看到了SaveCallback之外的所有日志,但是回调中没有任何内容(不是失败或成功)。此外,我的安装从未显示在我的分析仪表板中。任何帮助都将不胜感激 这是我在onCreate中的应用程序文件中的代码(与解析相关): ParseCrashReporting.enable(this); Parse.enableLocalDatastore(this); Parse.initialize(this, "kladjlatkhdtla

所有发生在后台的解析工作似乎都没有发生。。。我看到了SaveCallback之外的所有日志,但是回调中没有任何内容(不是失败或成功)。此外,我的安装从未显示在我的分析仪表板中。任何帮助都将不胜感激

这是我在onCreate中的应用程序文件中的代码(与解析相关):

    ParseCrashReporting.enable(this);
    Parse.enableLocalDatastore(this);
    Parse.initialize(this, "kladjlatkhdtlah", "akthjalhtdas");
    Log.d("com.parse", "Parse initialized");
    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);
            }
        }
    });
    Log.d("com.parse.push", "Should have subscribed");
    PushService.setDefaultPushCallback(this, MainActivity.class);
    ParseInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() {
        @Override
        public void done(ParseException e) {
            if (e == null) {
                Log.d("com.parse.push", "successfully saved installation.");
            } else {
                Log.e("com.parse.push", "failed to save installation", e);
            }
        }
    });
    Log.d("com.parse.push", "Should have saved");
    ParseUser.enableAutomaticUser();
    ParseACL defaultACL = new ParseACL();
    ParseACL.setDefaultACL(defaultACL, true);

你的SDK版本是什么?当我使用一些旧的SDK时,只有在启用LocalDatastore时,我才会遇到同样的问题。尝试删除
Parse.enableLocalDatastore(这个)
并再次运行应用程序。我想数据现在会保存到服务器上。你的SDK版本是什么?当我使用一些旧的SDK时,只有在启用LocalDatastore时,我才会遇到同样的问题。尝试删除
Parse.enableLocalDatastore(这个)
并再次运行应用程序。我想数据现在会保存到服务器上。你的SDK版本是什么?当我使用一些旧的SDK时,只有在启用LocalDatastore时,我才会遇到同样的问题。尝试删除
Parse.enableLocalDatastore(这个)
并再次运行应用程序。我想数据现在会保存到服务器上。