Android 模拟器 SDK 无法访问互联网 - 网页不可用.DNS 无法解析;URL 的 IP 地址有效 [英] Android Emulator SDK cannot access internet - web page not available. DNS not resolving; IP Address of URL works
问题描述
我一直在使用 Android Emulator SDK 遇到问题 它实际上发生在所有版本和分辨率上.我遇到的错误是 DNS 无法解析 URL.如果我输入 Google 的 IP 地址,它就可以工作.肯定是DNS问题.我正在使用 Android 虚拟设备管理器;我没有使用 Eclipse、Netbeans 或其他一些 IDE 进行测试.有没有办法通过 AVDM GUI 解决这个问题,也许利用硬件属性/值对?
I've been having issues with Android Emulator SDK It's actually occurring on all versions and resolutions. The error I'm having is URLs cannot be resolved by the DNS. If I type in the IP Address for, say, Google, it works. It's definitely a DNS issue. I am using the Android Virtual Device Manager; I am NOT using Eclipse, Netbeans, or some other IDE for testing. Is there a way to resolve this through the AVDM GUI, perhaps utilizing the Hardware Property/Value pairs?
非常感谢.
推荐答案
其实我找到了更好的答案.当我更改 nic adpater 绑定顺序时,问题解决了.我不知道为什么这是一个问题,因为自从使用 Android Emulator SDK 以来,我没有任何时候接触过绑定顺序.
Actually, I found a better answer. The problem was resolved when I changed the nic adpater binding order. I don't know why this was an issue, since I did not touch the binding order at any time, since working with the Android Emulator SDK.
我正在运行一个 Windows 开发箱;因此,对于这些用户,请转到控制面板 -> 网络连接 -> 高级 -> 高级设置 -> 适配器和绑定器 -> 连接.
I'm running a windows dev box; so, for those users, goto Control Panel -> Network Connections -> Advanced -> Advanced Settings -> Adapters and Binders -> Connections.
(来源:http://forums.techarena.in/networking-security/1396635.htm).
这篇关于Android 模拟器 SDK 无法访问互联网 - 网页不可用.DNS 无法解析;URL 的 IP 地址有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!