简体   繁体   English

我的模拟器未连接到互联网

[英]My emulator doesn't connect to the internet

我启动了模拟器并尝试打开了一个网站,但是没有连接,所以我检查了它的Wi-Fi选项,然后将其关闭,因此我尝试将其打开但没有打开,只是显示错误,什么也没发生。

This is a common problem with the emulator. 这是模拟器的常见问题。 Occasionally, it boots up in a weird state.it's just an Android adb issue. 有时候,它会以奇怪的状态启动,这只是一个Android adb问题。 It may take a couple of tries, but do the following. 可能需要尝试几次,但是请执行以下操作。

Exit the emulator
From the command line execute: adb kill-server
Wait 5 - 10 seconds then execute: adb start-server

You should see a message that the adb service is starting. 您应该看到一条消息,表明adb服务正在启动。 If not, repeat 2-3. 如果不是,请重复2-3。 In some very rare cases, it's only happened twice all year to me, you'll just need to reboot your machine. 在极少数情况下,一年只发生两次,您只需要重新启动计算机即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM