如何查找adb server端口号
要找到adb server的端口号,可以按照以下步骤进行操作:
-
打开命令提示符或终端窗口。
-
在命令提示符或终端窗口中输入以下命令:adb devices -l
-
按下回车键执行命令。
-
系统会列出已连接的设备和其对应的端口号。
示例输出可能如下所示: List of devices attached emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 192.168.0.101:5555 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86
在上面的示例中,adb server的端口号为5555。
请注意,如果adb server未启动或设备未正确连接,将无法找到端口号。在执行上述步骤之前,请确保adb server正在运行并且设备已正确连接。
原文地址: https://www.cveoy.top/t/topic/o7iV 著作权归作者所有。请勿转载和采集!