我怎样才能解决这个gcm错误?

时间:2015-08-20 06:41:51

标签: google-cloud-messaging

拜托,我不知道问题出在哪里。我的onReceive功能不起作用。 GmIntentService扩展WakefulBroadcastReceiver ...所以不调用onReceive!这是我的代码(清单):如果有人可以帮助我......

    package="list.test.com.testnotification">

    <!-- Permission -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission andr`enter code here`oid:name="android.permission.VIBRATE" />

    <permission
        android:name="list.test.com.testnotification.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />
    <uses-permission android:name="list.test.com.testnotification.permission.C2D_MESSAGE" />
    <!-- -->

Thanks in advance!

0 个答案:

没有答案