【发布时间】:2018-06-22 09:32:55
【问题描述】:
我运行 VTS 测试套件,但我的测试 100% 失败并出现此一致错误:
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:1489'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:1922'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:4950'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:1566'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:7793'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:4126'. ret: 1, stdout: , stderr: error: more than one device/emulator
AdbError: Error executing adb cmd 'adb -s 10.1.1.5:5555 reverse tcp:5010 tcp:3753'. ret: 1, stdout: , stderr: error: more than one device/emulator
消息是stderr: error: more than one device/emulator,但如果我用adb devices 列出,我只会得到一台设备
List of devices attached
10.1.1.5:5555 device
在 VTS 提示符中相同:
vts-tf > l d
Serial State Allocation Product Variant Build Battery
10.1.1.5:5555 ONLINE Allocated dev_prod dev_prod 6/22/2018.025 100
我与被测设备的连接不是通过 USB 而是通过以太网。
为什么adb 看到more than one device/emulator,因为事实并非如此?
有谁知道端口5010 服务于什么以及为什么被重定向(reverse)到随机端口1489, 1922, 4950 等?
【问题讨论】:
标签: android android-vts