I know that similar questions have been asked before, but my problem is new only after installing Android Studio 2.3, the latest version in March 2017. I have several years experience developing Android applications, and I have never encountered this problem before. After upgrading to version 2.3 of Android Studio, my emulator is no longer able to access the internet. I even uninstalled/reinstalled Android Studio 2.3 from scratch and created a new emulator, and I am still getting the same error. This is not an app problem. I can't even access the internet from Chrome, and I wasn't having this problem last week. The message that I get says that the server DNS address could not be found -- DNS_PROBE_FINISHED_BAD_CONFIG. The only thing that has changed on my computer in the last week is the new version of Android plus possibly updates to Windows 10. And yes, my computer has access to the internet. Below is an image of my emulator when I try to use Chrome to search for "Google".


当前回答

只需打开AVD管理器,擦除该模拟器的数据为我工作。

其他回答

Android 9+模拟器适合我,但Android 7不能连接到互联网。

我办公室用的是小飞贼应用防火墙。我把它关掉了,Android 7运行正常。检查一下防火墙可能是个好主意。

我已经解决了从AVD管理器擦数据

只需要用另一个目标API重新创建模拟器就可以了

在最新的Mac与Jio IP6配置问题,它阻止互联网上的android模拟器,所以从android虚拟设备管理器模拟器列表操作列下拉选择选项“冷启动现在”修复了这个问题。我面对这个问题后,我保持不变,它为我工作。

对于这个问题,我有一个简单而永久的解决方案。

进入网络和互联网选项->

点击以太网或wifi(你连接的)选项->

单击更改适配器选项->

右键单击已连接的网络。

将打开一个对话框,只需单击Internet协议版本(TCP/IPv4)选项。

弹出另一个对话框,忽略第一组IP地址(保持不变),单击“使用以下DNS服务器地址:”单选按钮,在“首选DNS服务器:”和“备选DNS服务器”中分别输入8.8.8.8和8.8.4.4:

现在你可以随时打开你的模拟器,你会得到互联网在安卓模拟器。