[英]Android: How to connect my android emulator to the internet?
I use Windows 7 and my emulator that is not connecting to the internet. 我使用Windows 7和我没有连接到互联网的模拟器。 No browser opens to any link.
没有浏览器打开任何链接。 I need to make my emulator to run web applications.
我需要让我的模拟器来运行Web应用程序。 I have given already the internet permission into the manifest tag.
我已经将明确标签中的互联网权限授予了。 Also i have disabled and enabled my LAN connection.
我也禁用并启用了我的LAN连接。 After doing this, i got my emulator once connected to the internet.
这样做之后,我连接到互联网后得到了我的模拟器。 there after it is not getting connected.
之后它没有连接。
Configure the dns might work. 配置dns可能有效。 I changed it to Google's dns server.
我将其更改为Google的dns服务器。
This is how I did it: 这就是我做的方式:
Eclipse: Window -> Preferences -> Android -> Launch Eclipse: Window - > Preferences - > Android - > Launch
Default emulator options: -dns-server 8.8.8.8:55 ,8.8.4.4:55
默认模拟器选项:
-dns-server 8.8.8.8:55 ,8.8.4.4:55
如果您的互联网断开连接,您需要每次重启/重新启动您的模拟器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.