Android 解析中未生成设备令牌?

Android 解析中未生成设备令牌?,android,push-notification,parse-platform,Android,Push Notification,Parse Platform,我正在使用parse push发送通知 当我从不同的手机上运行我的应用程序时,有些手机推送功能正常,但有些推送功能不正常。当我看到我的解析仪表板时,这些手机的设备停止了。没有生成,而devicetoken正在为推送正在工作的暴徒生成 用于在解析中保存设备的代码 ParseInstallation.getCurrentInstallation().put("UserId", MainSingleTon.ObjectID); ParseInstallation.getCurrentInstalla

我正在使用parse push发送通知 当我从不同的手机上运行我的应用程序时,有些手机推送功能正常,但有些推送功能不正常。当我看到我的解析仪表板时,这些手机的设备停止了。没有生成,而devicetoken正在为推送正在工作的暴徒生成

用于在解析中保存设备的代码

ParseInstallation.getCurrentInstallation().put("UserId", MainSingleTon.ObjectID);

ParseInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() {

    @Override
        public void done(ParseException arg0) {
            // TODO Auto-generated method stub
            if(arg0==null) { //if Error is null
                Intent loginIntent = new Intent("com.example.welcome.MainActivity");
                MainSingleTon.UniqueId=ParseInstallation.getCurrentInstallation().getInstallationId();
                System.out.println("dhawdudiwhdh "+ MainSingleTon.UniqueId);
                startActivity(loginIntent);
                mProgressDialog.dismiss();
                //saving crendential to shared preferences
                saveCendential(user, password,MainSingleTon.ObjectID);
                // Dismiss Dialog

                overridePendingTransition(R.anim.right_in, R.anim.left_out);
            }
            else {
                mProgressDialog.dismiss();
                showToast(arg0.toString());
            }

        }
});
解析数据库图像链接