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