Possible Duplicate:
Android Emulator - Trouble creating user accounts
I'm trying to register a Google Account with the Android emulator running 2.2 API level 8. Forums suggest that you can do this by going to Settings -> Accounts, however for me I on开发者_Go百科ly have the option to add a "corporate" account, i.e. an Exchange account, not a Google Account.
I wish to add this Google Account to test c2dm from the emulator.
Does anyone know how to associate a Google account with the emulator in this build?
Thanks, Eric
Turns out I was using the image "Android 2.2" instead of "Google APIS (Google Inc)". Using the Android SDK and AVD Manager, create a new virtual machine with the correct image.
精彩评论