Android模拟器-5554离线 [英] Android emulator-5554 offline

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

问题描述

我在使用模拟器-5554的一个问题,它总是告诉我,它处于脱机状态。

I'm having a problem with emulator-5554, it keeps telling me it is offline.

当我在命令行做一个ADB设备,它说

When I do a 'adb devices' from the command line it says

模拟器-5554离线

即使在一个新的重新启动,我尝试的命令,它仍然说,这是脱机。

Even after a fresh restart, I try that command and it still says it is offline.

现在的问题是,当我尝试安装的apk文件复制到模拟器使用'ABD安装的路径的从命令提示符,它告诉我,这是离线的,如果我创建另一个设备和运行那一个,然后尝试安装的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.

如何在世界上我可以摆脱那个该死的模拟器-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?

感谢

推荐答案

这是Android的检测模拟器的方式是通过扫描端口开始,端口5555。

The way that Android detects emulators is by scanning ports starting at port 5555.

您在 ADB设备列表中看到(在你的案件5554)的数量会比,亚行正在寻求开放的端口少了一个。

The number you see in the adb devices list (in your case 5554) will be one less than the port that adb is finding open.

您可能有一个进程在运行正在侦听端口5555。要摆脱线下的设备,你需要找到该应用程序并将其关闭或重新配置它来听不同的端口。

You probably have a process running that is listening on port 5555. To get rid of the "offline" device, you will need to find that application and close it or reconfigure it to listen to a different port.

这篇关于Android模拟器-5554离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆