New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with device registration. #32
Comments
Hi @fafzal it looks like you are using a simulator if you are what version of android is running on it? Should be 4.2.2 or higher to include Google Play Services. Also any logcat errors during the failed registration? |
Hi kroikie, Thanks for the reply, yes I am using a simulator. I don't see any error message on logcat console, I am using Android 5.1 (lollipop). |
Can the simulator access the internet otherwise? |
Yes it's do access the internet. I only see this error message on logcat console. 07-23 22:05:11.601 2041-2041/gcm.play.android.samples.com.gcmquickstart E/SettingsRedirect﹕ Can't redirect to app settings for Google Play services |
HI @fafzal, there is an issue with the latest version of Google Play Services not being available on the emulator. I have flagged this issue with the emulator team and I will update here when I have more information. If you can, use a real device till the correct version of Play Services can be made available to the emulator. |
@fafzal an appropriate version of Google Play Services is available on emulators running API version 21 or 19. If you make a Google API AVD with API version 21 or 19 the sample should work as expected. In the emulator check in Settings > Apps > Google Play Services that the version is 7.5.* |
Hi,
I am having an issue while registering a device on GCM. I follow the steps from GCM but the device keep displaying a busy icon with a message (Generating InstanceID toke ) and never register it.
The text was updated successfully, but these errors were encountered: