I have to add an Exchange Account in Android Emulator to work with GCM & Calendar API. I am following this tutorial for creating an account, but whenever I am trying to set an account I get the following error:
Couldn't open Connection to Server
By using any other APIs, I am getting :
the server requires security features your phone does not support for an example in Android APIs 4.0
Here are some things I’ve noticed:
- As you can see below in my screen shot, there is one more field for
PORT - 443getting by default.
AVD Screen Shot:
Account Setup Couldn’t Finish Screen Shot:
If I do this:
I get this error message:
I am using same credentials which I always use to login to my GMAIL Account, but in process of creating Exchange Account in Emulator I am getting
Incorrect UserName or Password
Please see below screen shot:
in above image i have used my google account username
(i.e: [email protected])
and has entered correct password but getting the error below:
I have tried by using 6 different email IDs and have had friends try, but we all getting same dialog
How can I resolve this problem?
Earlier I was using an AVD and by using that AVD I was able to work with GCM, Calendar and more. I deleted that AVD and now whenever I am trying to create AVD using lower version I get
the server requires security features your phone does not support
2.Enter your email address and password
3.Domain\username: (netbios domain name\your username)
4.Password: (your password)
5.Server = (possibly mail.company.com, owa,comapny.com or remote.company.com)
6.Leave use SSL checked and Accept all SSL unchecked
7.Leave port as 443
8.Next -> “Remote security administration” press ok.
9.Select the settings you want (leave as default if you like)
Create avd with following configurations
Select Google (
Note: If you select Corporate to add gmail account than it is not possible )
Enter Username & password
Are you a paid gmail account user? Because as per this link
Starting January 30, 2013, users, other than paid Google Apps users, won’t be able to set up new devices using Google Sync.
So the tutorial you followed to create exchange account won’t work. As of now I couldn’t find any other solution provided by google for this functionality.