我正在尝试将GCM推送通知集成到我的应用程序中,但是正在发生一些错误

时间:2015-10-05 18:57:06

标签: android notifications google-cloud-messaging

我已经按照本教程

http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/

我的logcat显示错误

10-05 21:25:05.154 443-498/com.example.shashi.pushnotification E/GMPM: 
    getGoogleAppId failed with status: 10
10-05 21:25:05.156 443-498/com.example.shashi.pushnotification E/GMPM: 
    Uploading is not possible. App measurement disabled
10-05 21:26:02.572 443-1181/com.example.shashi.pushnotification E/GCMRegistrar: 
    internal error: retry receiver class not set yet
10-05 21:26:44.331 443-1181/com.example.shashi.pushnotification E/shiashi GCM:
    Failed to register on attempt 1:java.io.IOException: Post failed with error code 500
10-05 21:26:47.309 443-1181/com.example.shashi.pushnotification E/URL:
     > http://shashi8600.esy.es/gcm/register.php

0 个答案:

没有答案