为什么Android模拟器是偶数?

时间:2014-07-31 09:17:18

标签: android android-emulator

这个问题只是为了好奇。当我运行“adb devices”时,它会显示 -

List of devices attached
emulator-5554  device
emulator-5556  device
emulator-5558  device
...

我想知道为什么这些数字都是均匀的 - 为什么它不会增加1?而且,为什么第一个仿真器总是5554?这背后有什么具体原因吗?

1 个答案:

答案 0 :(得分:1)

因为奇数必须是空闲的并且将被保留给ADB。

你可以在官方文件中看到它: http://developer.android.com/tools/help/emulator.html

enter image description here