简体   繁体   English

无法在Google App Emulator中添加Google帐户

[英]Can not add google account in Google App Emulator

I am trying to implement my first Android C2DM aplication. 我正在尝试实现我的第一个Android C2DM应用程序。 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. 我的机器在代理后面,但我添加了一个带有代理,端口,用户名和密码详细信息的APN。 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. 我可以使用浏览器访问谷歌帐户页面,我已经尝试过http和https网站,我可以访问。 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.. 但是当我尝试通过设置 - >帐户和同步 - >添加帐户 - > google->添加谷歌帐户时已经有一个谷歌帐户 - >登录 - >提供详细信息...它给了我这条消息..

Error message is "Cant establish a reliable data connection to the server" 错误消息是“无法与服务器建立可靠的数据连接”

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. 当我使用wire shark并检查它连接的代理时,它没有使用我在APN部分中给出的代理。 Anybody knows how do I solve this problem? 有谁知道如何解决这个问题? I am using GoogleApp API Level 9 Platform 2.3.1. 我使用的是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

Note: @ is my proxy and $ is my port, GoogleDevice is the name of the device you would like to run. 注意: @是我的代理, $是我的端口, GoogleDevice是您要运行的设备的名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用无法通过电话登录Google帐户,但可以通过模拟器登录 - App won't sign into google account from phone, but ok from emulator Google App Engine创建新的Google帐户 - Google App Engine Create New Google Account 使用服务帐户将事件获取/添加到Google日历 - GET/ADD Events to google calendar with a service account 使用 google 帐户对带有后端的本机桌面应用程序进行身份验证 - Authentication with google account for native desktop app with backend 应用中其他帐户的Google登录失败 - Google Sign in from different account crashes in the app 有没有什么可以从谷歌播放安装Android模拟器上的应用程序 - Is there any how can we install the app on android emulator from google-play 使用 IntelliJ IDEA 进行调试时如何将服务帐户凭据添加到 Google App Engine? - How to add service account credentials to Google App Engine when debugging with IntelliJ IDEA? Google App Engine 应用程序中的静态文件授权(不使用 Google 帐户) - Authorization for Static Files in Google App Engine application (not using Google Account) 在Google App Engine网络应用程序中使用Google帐户登录选项 - sign In with Google account option in google App Engine web application 我可以以编程方式创建 Google 帐户吗? - Can I create a Google account programmatically?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM