Android Emulator - Trouble creating user accounts

前端 未结 3 1504
别跟我提以往
别跟我提以往 2020-11-30 01:24

I need a user account or two in my Android Emulator so that I can test some texting/mailing function of my app. The trouble is that when I try to do this in the emulator:

相关标签:
3条回答
  • 2020-11-30 01:31

    I know this might be looong overdue, but if you're using ICS emulator, you need to push GoogleServicesFramework.apk and GoogleLoginService.apk. After that you can add user accounts.

    0 讨论(0)
  • 2020-11-30 01:40

    Initially , I too faced the same issue. Done some research and found this link. This is really helpful. Now I can able to add an account in my ICS emulator as well as in my old version emulators too.

    Setting up email account in emulator

    Cheers.

    0 讨论(0)
  • 2020-11-30 01:46

    @Varun's solution works for me. There are two things that must be configured correctly: the emulator and your eclipse project.

    To set up the emulator, you'll have to create a new one. Instead of selecting an Android target, select the Google APIs target that you need (this target includes the Android platform, but "Android" doesn't appear in it's title). See screenshot:

    alt text

    That emulator should now be able to sign into a gmail account.

    To configure your eclipse project, right click the project in the package explorer. Select "Properties" from the dropdown menu. Click "Android" on the left of the properties window, and select the same Google APIs target that you selected for your emulator. See screenshot:

    alt text

    You should also make sure that the correct emulator is selected to run the project. To do this, select "Run/Debug Settings" on the left of the project properties window. Edit the launch settings, and select the appropriate emulator (AVD) under the "Targets" tab.

    This worked for me!

    0 讨论(0)
提交回复
热议问题