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


当前回答

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!

其他回答

是的——在win7中使用管理员privs启动模拟器,一切都会很好——或者至少你会在android中获得无线。

我在Web浏览器中没有网络连接,安装Android SDK (Replicant开源版本)后使用WLAN,与禁用LAN卡或DNS服务器不使用DHCP无关。我的问题是:设置->无线和网络->移动网络->“数据启用”没有被选中。这是所有。

我也有类似的问题。我安装了一个需要INTERNET权限的应用程序(并使用了它),然后突然就工作了。

朋友们,还要检查一下你是否在某个地方没有通过VPN连接,因为它也会干扰互联网连接。

blacharnia

检查你是否使用多个互联网连接到你的电脑,比如一个是局域网第二个是调制解调器,所以禁用所有的局域网或调制解调器。

如何设置Android模拟器的Internet选项?

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!