重置退避的“包名” [英] Resetting backoff for 'Package Name'

查看:105
本文介绍了重置退避的“包名”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我已经创建了我一个Android应用程序要GCM注册ID。

Hello I have created an android application in that I wants to GCM Register id.

我的code是 -

My code is-

    GCMRegistrar.checkDevice(this);
    GCMRegistrar.checkManifest(this);

    final String regId = GCMRegistrar.getRegistrationId(this);      
    if (regId.equals("")) 
    {
        GCMRegistrar.register(this, SENDER_ID);
    }

    Log.v("REG ID:",""+regId);

但它给错误,如 -

But it gives error like-

Resetting backoff for 'Package Name'

什么是这个错误的意思?

What is meaning of this error ?

推荐答案

你有没有添加了下列权限,并请检查您的发件人ID是否在现场与否。

Have you added the following Permission and Kindly check whether your Sender Id is in Live or not.

<uses-permission android:name="com.example.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

 <permission android:name="com.example.permission.C2D_MESSAGE"
    android:protectionLevel="signature" />

这篇关于重置退避的“包名”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆