Gcm Phone_registration_error
Solution 1:
GCM only works on devices that run android 2.2 or newer. Also GCM only works if a google account is installed for the device. This is also the reason google recommend using <uses-permission android:name="android.permission.GET_ACCOUNTS" />
in the manifest so you are sure the device has a google account.
Solution 2:
I had the same issue and after seraching on the internet for many days I noticed this in the google groups (https://groups.google.com/forum/#!topic/cerberus-support-forum/eJxOsYqkTxo) and tried it and it worked flawlessly for me.
There is something wrong with your Google account. Please try this:
- Go to Settings -> Applications -> Manage applications -> All
or
Go to Settings -> Apps-> All (on newer versions)
- Select "Clear data" for "Google Play services" and "Google services framework"
- Reboot the phone
Then check for the GCM id from your app.
If it still doesn't work then remove all your google accounts from the phone and reboot the phone and add the account again.
It worked for me (after implementing many solutions that I got from searching the internet.)
Hope it helps!!
Solution 3:
i looked in your manifest and you forgot to pass GooglePlay Services metadata.
Verify if you have linked GooglePlay services library to your project
Try to add this in your
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
It works nicely for me.
Then recompile and retry. Hope it helps.
Post a Comment for "Gcm Phone_registration_error"