为什么安卓模拟器的编号类似5554 [英] Why Android emulators are numbered like 5554

查看:469
本文介绍了为什么安卓模拟器的编号类似5554的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是完全开箱即用的问题。我只是想知道,为什么Android的仿真器的编号为5554,5556这样的.....

This might be totally out of box question. I just wondering why Android emulators are numbered as 5554, 5556 like that .....

推荐答案

而Android模拟器使用网络了Android SDK工具,尽管这种交流仅限于本地主机通信。这使得应用程序安装,调试等。当你开始你的模拟器,它监听为此目的端口5554和5555。

The Android emulators communicate with the Android SDK tools using the network, even though this communication is limited to localhost. This allows installing apps, debugging, etc. When you start your emulator, it listens to the ports 5554 and 5555 for that purpose.

如果当你开始你仿真器另外一个已经在运行,这些端口都很忙,所以仿真器将听取5556和5557.等等。第一个端口号显示在仿真器的标题栏,所以你可以看到哪些端口是基础。

If when you start you emulator another one is already running, these ports are busy, so the emulator will listen to 5556 and 5557. And so on. The first port number is displayed in the title bar of the emulator so you can see on which port it is based.

这是非常方便的,当你有在同一时间运行多个模拟器来模拟不同版本的Andr​​oid或不同供应商的,作为一个例子。

This is very convenient when you have several emulators running at the same time, to emulate different versions of Android or different vendors, as an example.

这篇关于为什么安卓模拟器的编号类似5554的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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