Reputation: 41
I am working on google's C2DM and have a program on the android emulator trying to get registration ID. But I get following errors:
DEBUG/GoogleLoginService(171): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
WARN/GoogleLoginService(171): Device has no accounts: sending Intent { act=com.google.android.gsf.LOGIN_ACCOUNTS_MISSING }
ERROR/GTalkService(171): asyncFetch: no username
DEBUG/C2DMRegistrar(171): [C2DMRegistrar.20] AuthTokenCallback: account missing
Upvotes: 4
Views: 4923
Reputation: 62
This is Because your device is not in Sync with the Google Go to Settings and add account enter Your Google account username and Password. Hope this Works..
Upvotes: 2
Reputation: 74507
Your device needs to have at least one Google account set up under Settings/Accounts for C2DM to work.
Upvotes: 14