问题描述
我的机器是使用互联网WiFi连接,而局域网卡处于闲置状态。它不是后面的代理服务器或防火墙,但不知何故,我仿真器的浏览器没有加载任何页面。这意味着仿真器不能连接到互联网。
My machine is using a WiFi connection for internet, and the LAN card is idle.it's not behind a proxy or firewall, but somehow, my emulator's browser isn't loading any page.meaning that the emulator can't connect to the internet.
我搜索了很多,但没有运气。什么可能是可能的原因?
I searched a lot but with no luck.what might be the possible reasons?
请帮忙。
在此先感谢!!
推荐答案
我有同样的问题与OS X的我已经工作了2天,现在拿到仿真器连接到互联网,所有的解决方案,我读了远(使用 -dns服务器
,使用代理服务器设置或禁用不使用的网络用的设备),没有工作。
I had the same problem with OS X. I have been working for 2 days now to get the emulator to connect to the internet, all solutions I have read so far (use -dns-server
, use proxy settings or disable unused netword devices) didn't work.
今天早上我开始与须藤./emulator -avd my_avd_name
仿真器和它的工作!仿真器能够连接到互联网。
This morning I started the emulator with sudo ./emulator -avd my_avd_name
and it worked! Emulator was able to connect to the internet.
因此,有什么不对的特权左右,我必须想出解决办法。但它工作的时刻。
So there is something wrong with privileges or so, I need to figure this out. But it works for the moment.
这篇关于仿真器无法连接到互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!