我遇到了 emulator-5554 的问题,它一直告诉我它处于离线状态.
I'm having a problem with emulator-5554, it keeps telling me it is offline.
当我从命令行执行 adb devices
时,它会说
When I do a adb devices
from the command line it says
emulator-5554 离线
即使在重新启动后,我尝试了该命令,它仍然显示它处于脱机状态.
Even after a fresh restart, I try that command and it still says it is offline.
问题是当我尝试在命令提示符下使用 abd install <path>
将 .apk 文件安装到模拟器时,如果我创建另一个设备并且运行那个,然后尝试安装 .apk 文件,它说我连接的设备太多.换句话说,我无法安装我的 .apk 文件.
The problem is when I try to install .apk files to the emulator using abd install <path>
from the command prompt, it tells me that it is offline, if I create another device and run that one, then try to install the .apk files, it says I have too many devices connected. So in other words, I can't install my .apk files.
我到底怎么才能摆脱那个该死的 emulator-5554?我听说如果您重新启动,它应该清除所有设备,但这似乎不起作用.就像我的计算机启动时它正在初始化一样.有人遇到过这个问题吗?
How in the world can I get rid of that damn emulator-5554? I heard that if you do a restart, it should clear all the devices, but that does not seem to be working. It is like it is getting initialized when my computer starts up. Has anyone run into this issue?
谢谢
在这种情况下,您可以执行以下所有操作,以确保您的模拟器重新开始工作:
In such a case, you can do all of the following in order to be assured that your emulator starts working again :
adb kill-server
adb
.如果找到一个,右键单击它并单击结束进程树.adb kill-server
adb
in processes. If you find one, right click on it and click on end process tree. 就是这样!这需要一段时间,它应该可以解决您的问题.
That's it! It will take a while and it should resolve your problem.
这篇关于Android emulator-5554 离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!