Facing issue with GCM- Device not registered
<p>I have followed the steps as given on the following link</p>

<p><a href="http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/" rel="nofollow">http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/</a> </p>

<p>but after running the app on emulator it prints the message </p>

<blockquote>
  <p>"could not register device after 5 attempts"</p>
</blockquote>

<p>I have also created database with the help of PhpMyAdmin, written server side code in php
but respective values are not stored in table also.</p>

<pre><code>SERVER_URL="http://localhost/gcm_server_php/register.php";
SENDER_ID(Project ID) = "715144889013";
</code></pre>
