开发者

How do I register my Google Account in the android emulator running 2.2 api level 8? [duplicate]

开发者 https://www.devze.com 2023-01-17 09:42 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Android Emulator - Trouble creating user accounts
This question already has answers here: Closed 10 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号