Skip to content
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

Closed
fafzal opened this issue Jul 23, 2015 · 6 comments
Closed

Issue with device registration. #32

fafzal opened this issue Jul 23, 2015 · 6 comments
Assignees

Comments

@fafzal
Copy link

fafzal commented Jul 23, 2015

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.

screen shot 2015-07-23 at 18 16 12

@kroikie
Copy link
Contributor

kroikie commented Jul 23, 2015

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?

@fafzal
Copy link
Author

fafzal commented Jul 23, 2015

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).

@fafzal fafzal closed this as completed Jul 23, 2015
@fafzal fafzal reopened this Jul 23, 2015
@kroikie
Copy link
Contributor

kroikie commented Jul 23, 2015

Can the simulator access the internet otherwise?

@fafzal
Copy link
Author

fafzal commented Jul 23, 2015

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

@kroikie
Copy link
Contributor

kroikie commented Jul 24, 2015

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.

@kroikie
Copy link
Contributor

kroikie commented Jul 25, 2015

@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.*

@kroikie kroikie closed this as completed Jul 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants