Android emulator-5554 离线

Android emulator-5554 offline(Android emulator-5554 离线)

本文介绍了Android emulator-5554 离线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了 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 :

  1. 进入 cmd 并输入 adb kill-server
  2. 进入任务管理器,在进程中找到adb.如果找到一个,右键单击它并单击结束进程树.
  3. 在eclipse中,进入Window>Android Virtual Device Manager,点击你要启动的AVD,点击开始,取消勾选Launch From Snapshot",然后点击启动.
  1. Go to cmd and type adb kill-server
  2. Go to task manager and find adb in processes. If you find one, right click on it and click on end process tree.
  3. In eclipse, go to Window>Android Virtual Device Manager, click on the AVD you want to launch, click on start and uncheck "Launch From Snapshot" and then click on launch.

就是这样!这需要一段时间,它应该可以解决您的问题.

That's it! It will take a while and it should resolve your problem.

这篇关于Android emulator-5554 离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Android emulator-5554 离线

基础教程推荐