Android emulator-5554 offline(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 :
- 进入 cmd 并输入
adb kill-server
- 进入任务管理器,在进程中找到
adb
.如果找到一个,右键单击它并单击结束进程树. - 在eclipse中,进入Window>Android Virtual Device Manager,点击你要启动的AVD,点击开始,取消勾选Launch From Snapshot",然后点击启动.
- Go to cmd and type
adb kill-server
- Go to task manager and find
adb
in processes. If you find one, right click on it and click on end process tree. - 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 离线
基础教程推荐
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01