无法在谷歌应用程序模拟器添加谷歌账户 [英] Can not add google account in Google App Emulator
问题描述
我想实现我的第一款Android C2DM aplication。我在加入谷歌帐户的难度。我的机器是使用代理,但我已经添加了APN与代理,端口,用户名,密码详细信息。我可以使用浏览器转到谷歌帐户页面,我已经试过了HTTP和HTTPS的网站,我能够访问。但是,当我尝试去设置 - >帐户和SYNC-添加一个谷歌帐户>添加帐户 - > google->已经有一个谷歌的问责> signin->透露细节......它给了我这个消息..
I am trying to implement my first Android C2DM aplication. I have difficulty in adding a google account. My machine is behind a proxy, but I have added an APN with the proxy,port,username,password details. I can go to the google account page using a browser, I have tried the http and https sites and I am able to access. But when I try to add a google account by going to settings-> Accounts and Sync-> Add Account->google->Already have a google account->signin->give details...It gives me this message..
错误消息不能与服务器建立可靠的数据连接
Error message is "Cant establish a reliable data connection to the server"
当我用丝鲨,并检查其连接到代理,它不是用我的APN部分给代理。任何人都知道我该如何解决这个问题?我使用GoogleApp API级别9平台2.3.1。
When i used wire shark and checked the proxy it connecting to, It is not using the proxy I have given in the APN section. Anybody knows how do I solve this problem? I am using GoogleApp API Level 9 Platform 2.3.1.
推荐答案
我设法解决这个问题,模拟器不知何故未检测代理设置。然后,我使用下面的命令从发射命令提示符仿真器和它的所有工作正常,我已成功地添加谷歌帐户。
I have managed to solve this issue, The emulator was somehow not detecting the proxy settings. Then I fired the emulator from command prompt using the below command and it all worked fine and I have managed to add the google account.
emulator.exe -avd GoogleDevice -http-proxy @@@.@@.@@@.@@:$$$$ -debug-proxy
请注意: @
是我的代理和 $
是我的口, GoogleDevice
是你想运行的设备的名称。
Note: @
is my proxy and $
is my port, GoogleDevice
is the name of the device you would like to run.
这篇关于无法在谷歌应用程序模拟器添加谷歌账户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!