Android GCM doesnt register device <p>Code:</p> <pre><code>String msg = ""; try { if (gcm == null) { gcm = GoogleCloudMessaging .getInstance(OrfografApplication.this); } String senderId = Constants.GCM_SENDER_ID; GCM_REGISTRATION_ID = gcm.register(Constants.GCM_SENDER_ID); msg = "Device registered, registration id=" + GCM_REGISTRATION_ID; setRegistrationId(OrfografApplication.this, GCM_REGISTRATION_ID); } catch (IOException ex) { Log.w(TAG, ex.getMessage()); msg = "Error :" + ex.getMessage(); } return msg; </code></pre> <p>Exception message <code>SERVICE_NOT_AVAILABLE</code></p> <p>In logcat <code>: W/GCM(749): DIR: /data/data/com.google.android.gms/app_APP /data/data/com.google.android.gsf</code></p> <p>It worked fine, but stoped at 23 of august.</p>