-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
java.io.IOException: INVALID_PARAMETERS Error #61
Comments
What device are you using? Also could you try the sample on another device or in an emulator that has Google Play Services and see if you get a different result? |
Hii, |
I'd suggest trying with one of the emulators in Android Studio, you can create an emulator that has the Google APIs (Google Play Services). INVALID_PARAMETERS would suggest that your sender id is not being recognized. Could you log your sender id and check that is is not null or otherwise incorrect? |
@shireen-obtainit going to close this issue for lack of activity. If you are still getting this problem, please re-open and we'll be happy to keep looking at it. |
Hii,
I am new in Android app development. I am working on GCM notification. I have followed all the steps mentioned in https://developers.google.com/cloud-messaging/android/start. But getting error java.io.IOException: INVALID_PARAMETERS Error in RegistrationIntentService.java file at line 57.
String token = instanceID.getToken(getString(R.string.gcm_defaultSenderId), GoogleCloudMessaging.INSTANCE_ID_SCOPE, null);
Can you support me to solve this error?????
The text was updated successfully, but these errors were encountered: