如何Android模拟器连接到互联网 [英] How to connect android emulator to the internet

查看:178
本文介绍了如何Android模拟器连接到互联网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何我的Andr​​oid模拟器连接到互联网,例如使用的浏览器?我发现很多什么做你当通过代理连接到的意见,但这里并非如此,我的机器(Windows 7)中直接连接到路由器。

How can I connect my Android emulator to the internet, e.g. to use the browser? I've found lots of advice on what do to when your connected through a proxy, but that's not the case here, my machine (Windows 7) is directly connected to the router.

推荐答案

我觉得有些问题的答案可能有这种倾斜然而解决,但这里为我工作。搜索结果
假设当你是一个无线网络上,并且您已经安装了网卡您的问题正在发生,问题是,模拟器试图从网卡获得其DNS设置。是在你经由LAN连接的,但如果你是一个无线连接上完全无用的一个问题。我注意到这一点,当我在我的笔记本电脑。搜索结果
那么,如何解决?很简单:禁止局域网卡。真。只要到您的网络连接,找到你的局域网卡,右键单击它并选择禁用。现在试试你的模拟器。如果你像我一样,它突然...作品!

I think some of the answers may have addressed this, however obliquely, but here's what worked for me.

Assuming your problem is occurring when you're on a wireless network and you have a LAN card installed, the issue is that the emulator tries to obtain its DNS settings from that LAN card. Not a problem when you're connected via that LAN, but utterly useless if you're on a wireless connection. I noticed this when I was on my laptop.

So, how to fix? Simple: Disable your LAN card. Really. Just go to your Network connections, find your LAN card, right click it and choose disable. Now try your emulator. If you're like me, it suddenly ... works!

这篇关于如何Android模拟器连接到互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆