如何将我的Android模拟器连接到互联网,例如使用浏览器?我已经找到了很多关于如何通过代理连接的建议,但这里不是这样,我的机器(Windows 7)是直接连接到路由器的。


当前回答

如果你使用的是MacOS 2.2,并且你一直看到关于数据连接的错误,尝试上面的方法,它是有效的。

除了LAN,我通过Sys Prefs删除了所有的网络接口 尽管我的DNS是由DHCP提供的,但我只用一台服务器重新输入了DNS 我在命令行上使用-http-proxy来指定一个

它从办公室开始工作。唷。

其他回答

it appears there might be a few reasons why there might be no internet connection for an emulator, in my case i was working from home where i have a wireless connection then came into the office and plugged in direct, however although my wireless connection was disconnected it was not disabled resulting in no emulator connection. my understanding is that when it starts up it looks for a network adapter and if there is any conflict here it might result in no internet connection. to resolve go to Start > Settings > Network Connections right click on Wireless Network Connection (if you are not using wireless) and select disable

我发现在我从Vista x64重建到Win7 x64后,用“擦除用户数据”启动模拟器为我清除了这个问题。

我在Win7 64位上遇到了类似的问题。尝试禁用我的hamachi和virtualbox适配器,但没有工作。尝试以管理员身份启动avd,但没有工作。最后,我使用这个网站上的信息禁用了teredo隧道适配器,它工作了: http://www.mydigitallife.info/2007/09/09/how-to-disable-tcpipv6-teredo-tunneling-in-vista/

您需要使用“控制面板\所有控制面板项\网络连接”与模拟器共享您的笔记本电脑Internet,并选择笔记本电脑的活动Internet源,然后右键单击然后共享选项卡。在这里勾选共享复选框,如果需要,选择模拟器网络,如果列出。

我没有使用代理……然而,我正在使用一个脚本…在这附近。我在公司的防火墙后面