Android 调试遇到RSA key导致手机Offline或Unauthorized问题的终极解决方法

当Android设备在调试时遇到 Offline 或 Unauthorized 错误,可能是因为adb_keys与adbkey.pub不一致。解决方法是确保电脑端的adbkey.pub与手机/data/misc/adb_keys内容相同,将adbkey.pub内容导入adb_keys文件,然后复制到手机相应目录,重启设备或安装正确驱动即可恢复正常调试。

遇卡:

头很大!

这两天刷了6.0系统,最终确认是Rom存在问题,导致连接电脑后开发者选项全开,就是-总是-老是......尴尬不弹出RAS Key确认对话框,Android Studio一直显示OFFLINE 或 UNAUTHORIZED。无奈,logcat窗口一片空白,等待调试全部落空...................

解决:

查了很多资料,怎么说的都有,都不成,但是根据其中一些线索,总结就是

电脑端的C:\Users\用户名\.android\adbkey.pub必须与手机里面的/data/misc/adb_keys一致

这怎么个一致法呢?随即想到手边的另外一台手机里的adb_keys,把它与当前能连接(logcat可以正常输出)的电脑的adbkey.pub内容做了对比,发现线索:

adb_keys里有很多行以(中间的....是省略的意思)

QAAAA.............................. unknown@unknown

为单位的条目,对比了下电脑上的adbkey.pub里的内容,居然在里面!

<
D:/gz/py/python310/python.exe C:\Users\g60042218\PycharmProjects\untitled\.idea\hypium\tmpExecute.py "" Input is being redirected from C:\Users\g60042218\PycharmProjects\untitled\.idea\hypium\test.txt [2025-08-27 12:21:30,698] [20000] [Kit] [INFO] [Load the cpuinsnum collector.] [2025-08-27 12:21:30,700] [20000] [Kit] [INFO] [Load the cpu load collector.] [2025-08-27 12:21:30,702] [20000] [Kit] [INFO] [Load the latency collector.] [2025-08-27 12:21:30,703] [20000] [Kit] [INFO] [Load the memory collector.] [2025-08-27 12:21:30,705] [20000] [Kit] [INFO] [Load the power dubai collector.] [2025-08-27 12:21:30,706] [20000] [Kit] [INFO] [Load the power current and voltage collector.] [2025-08-27 12:21:30,708] [20000] [Kit] [INFO] [Load the residency collector.] [2025-08-27 12:21:30,709] [20000] [Kit] [INFO] [Load the thread num collector.] [2025-08-27 12:21:30,776] [20000] [Main] [INFO] [*************** xDevice Test Framework 6.0.5.10 Starting ***************] [2025-08-27 12:21:30,792] [20000] [ConfigManager] [DEBUG] [User config path: C:\Users\g60042218\PycharmProjects\untitled\config\user_config.xml] [2025-08-27 12:21:30,793] [20000] [Adb] [DEBUG] [AdbMonitor map add host 127.0.0.1, map is {'127.0.0.1': <aosp.environment.dmlib.AdbMonitor object at 0x000001BC7932A470>}] [2025-08-27 12:21:30,793] [20000] [Adb] [DEBUG] [AdbMonitor usb type is usb-hdc] [2025-08-27 12:21:30,836] [20000] [Adb] [DEBUG] [AdbMonitor hdc version: Ver: 3.0.0b] [2025-08-27 12:21:30,836] [20000] [Adb] [DEBUG] [The connector is normalized version, so does not need to be killed.] [2025-08-27 12:21:31,456] [20000] [Utils] [DEBUG] [Check hdc.exe proc running output: hdc.exe 1320 Services 0 50,684 K] [2025-08-27 12:21:31,457] [58664] [Adb] [DEBUG] [current connector name is hdc] [2025-08-27 12:21:31,457] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:31,457] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:31,457] [20000] [ConfigManager] [DEBUG] [User config path: C:\Users\g60042218\PycharmProjects\untitled\config\user_config.xml] [2025-08-27 12:21:31,457] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1520, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55095), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:31,458] [20000] [Hdc] [DEBUG] [HdcMonitor map add host 127.0.0.1, map is {'127.0.0.1': <ohos.environment.dmlib.HdcMonitor object at 0x000001BC79329C60>}] [2025-08-27 12:21:31,458] [20000] [Hdc] [DEBUG] [Peek running process to check expect connector.] [2025-08-27 12:21:31,473] [20000] [Hdc] [DEBUG] [Peak end] [2025-08-27 12:21:31,473] [62512] [Hdc] [DEBUG] [current connector name is hdc] [2025-08-27 12:21:31,473] [20000] [ConfigManager] [DEBUG] [User config path: C:\Users\g60042218\PycharmProjects\untitled\config\user_config.xml] [2025-08-27 12:21:31,474] [20000] [Console] [INFO] [Input command: run -l C:/Users/g60042218/PycharmProjects/untitled/HMSCoreHAP/IntegrationTest/DFX/Python/performance/testcases/TC_Framework_SDK_DFX_Performance_006.py -ta agent_mode:bin;screenshot:true] [2025-08-27 12:21:31,475] [20000] [ConfigManager] [DEBUG] [User config path: C:\Users\g60042218\PycharmProjects\untitled\config\user_config.xml] [2025-08-27 12:21:31,476] [20000] [SuiteReporter] [DEBUG] [Clear failed case list] [2025-08-27 12:21:31,476] [20000] [SuiteReporter] [DEBUG] [Clear report result] [2025-08-27 12:21:31,476] [20000] [Request] [DEBUG] [StartTime=2025-08-27 12:21:31] [2025-08-27 12:21:31,477] [20000] [Request] [INFO] [Report path: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31] [2025-08-27 12:21:31,479] [20000] [TestSource] [DEBUG] [Testcases directories: ['C:\\Users\\g60042218\\PycharmProjects\\untitled\\testcases', 'D:\\gz\\py\\python310\\lib\\testcases', 'C:\\Users\\g60042218\\PycharmProjects\\untitled', 'D:\\gz\\py\\python310\\lib']] [2025-08-27 12:21:31,479] [20000] [TestSource] [DEBUG] [Test sources: ['C:/Users/g60042218/PycharmProjects/untitled/HMSCoreHAP/IntegrationTest/DFX/Python/performance/testcases/TC_Framework_SDK_DFX_Performance_006.py']] [2025-08-27 12:21:31,481] [20000] [Impl] [DEBUG] [Run command: run -l C:/Users/g60042218/PycharmProjects/untitled/HMSCoreHAP/IntegrationTest/DFX/Python/performance/testcases/TC_Framework_SDK_DFX_Performance_006.py -ta agent_mode:bin;screenshot:true] [2025-08-27 12:21:31,483] [62508] [Concurrent] [DEBUG] [Queue monitor thread start] [2025-08-27 12:21:31,484] [20000] [ManagerEnv] [DEBUG] [Visit options to find device] [2025-08-27 12:21:31,485] [20000] [ManagerEnv] [DEBUG] [Apply device from managers:{'ManagerDevice': <ohos.managers.manager_device.ManagerDevice object at 0x000001BC792B5E40>, 'ManagerAospDevice': <aosp.managers.manager_device.ManagerAospDevice object at 0x000001BC792B7190>}] [2025-08-27 12:21:31,485] [20000] [ManagerDevice] [DEBUG] [Apply device: apply lock con lock] [2025-08-27 12:21:31,486] [20000] [ManagerDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:31,486] [20000] [ManagerDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:31,486] [20000] [ManagerDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:31,487] [20000] [ManagerDevice] [DEBUG] [Wait for available device founded] [2025-08-27 12:21:31,500] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1520, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55095), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:31,501] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:32,094] [62512] [Utils] [DEBUG] [Check hdc.exe proc running output: hdc.exe 1320 Services 0 50,684 K] [2025-08-27 12:21:32,095] [62512] [Hdc] [DEBUG] [HdcMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:32,095] [62512] [Hdc] [DEBUG] [HdcMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:32,096] [62512] [Hdc] [DEBUG] [HdcMonitor Connected to hdc for device monitoring, main_hdc_connection is <socket.socket fd=800, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55097), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:32,171] [62512] [Hdc] [DEBUG] [had received length is: 326] [2025-08-27 12:21:32,186] [62512] [Hdc] [INFO] [0123456789ABCDEF USB Offline localhost 3AP0124801000190 USB Offline localhost 3XB0124808000760 USB Offline localhost 46G0124C16000276 USB Offline localhost 4FHBB24B09100380 USB Offline localhost 4FHBB24B09100433 USB Connected localhost COM1 UART Ready unknown... COM2 UART Ready unknown... COM3 UART Ready unknown... ] [2025-08-27 12:21:32,187] [62512] [Hdc] [DEBUG] [Dmlib ignore device 0123456789ABCDEF on 127.0.0.1:8710 that is not in config, state: Offline] [2025-08-27 12:21:32,188] [62512] [Hdc] [DEBUG] [Dmlib ignore device 3AP0124801000190 on 127.0.0.1:8710 that is not in config, state: Offline] [2025-08-27 12:21:32,188] [62512] [Hdc] [DEBUG] [Dmlib ignore device 3XB0124808000760 on 127.0.0.1:8710 that is not in config, state: Offline] [2025-08-27 12:21:32,189] [62512] [Hdc] [DEBUG] [Dmlib ignore device 46G0124C16000276 on 127.0.0.1:8710 that is not in config, state: Offline] [2025-08-27 12:21:32,189] [62512] [Hdc] [DEBUG] [Dmlib ignore device 4FHBB24B09100380 on 127.0.0.1:8710 that is not in config, state: Offline] [2025-08-27 12:21:32,190] [62512] [Hdc] [DEBUG] [Dmlib get device 4FHBB24B09100433 on 127.0.0.1:8710, state: Connected] [2025-08-27 12:21:32,190] [62512] [Hdc] [DEBUG] [Dmlib ignore device COM1 on 127.0.0.1:8710 that is not in config, state: Ready] [2025-08-27 12:21:32,191] [62512] [Hdc] [DEBUG] [Dmlib ignore device COM2 on 127.0.0.1:8710 that is not in config, state: Ready] [2025-08-27 12:21:32,191] [62512] [Hdc] [DEBUG] [Dmlib ignore device COM3 on 127.0.0.1:8710 that is not in config, state: Ready] [2025-08-27 12:21:32,192] [62512] [Hdc] [DEBUG] [DeviceConnector device connected:host 127.0.0.1, port 8710, device sn 4FHBB24B09100433 ] [2025-08-27 12:21:32,192] [62512] [ManagerDevice] [DEBUG] [Find device: apply list con lock] [2025-08-27 12:21:32,193] [62512] [ManagerDevice] [DEBUG] [Find device: release list con lock] [2025-08-27 12:21:32,193] [62512] [ManagerDevice] [DEBUG] [Create device(<ohos.environment.device.Device object at 0x000001BC79329CF0>) host is 127.0.0.1, port is 8710, device sn is 4FHBB24B09100433, usb type is usb-hdc] [2025-08-27 12:21:32,194] [62512] [Hdc] [DEBUG] [4FHBB24B09100433 execute command: hdc shell param get const.product.devicetype with timeout 5.0s] [2025-08-27 12:21:32,387] [62512] [Device] [DEBUG] [wearable] [2025-08-27 12:21:32,388] [62512] [ManagerDevice] [DEBUG] [Append device: apply list con lock] [2025-08-27 12:21:32,388] [62512] [ManagerDevice] [DEBUG] [Append device: release list con lock] [2025-08-27 12:21:32,388] [62512] [ManagerDevice] [DEBUG] [Device connected: 4FHBB24B09100433 default 127.0.0.1 8710, state: TestDeviceState.ONLINE] [2025-08-27 12:21:32,389] [62512] [ManagerDevice] [DEBUG] [Set device 4FHBB24B09100433 recover_state to true] [2025-08-27 12:21:32,496] [20000] [ManagerDevice] [DEBUG] [Apply device: release lock con lock] [2025-08-27 12:21:32,496] [20000] [ManagerDevice] [DEBUG] [Apply device: apply lock con lock] [2025-08-27 12:21:32,496] [20000] [ManagerDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:32,497] [20000] [ManagerDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:32,497] [20000] [ManagerEnv] [DEBUG] [Do matches, device:{state:Available, sn:4FHBB24B09100433, label:wearable}, selection option:{device sn:[], label:phone}] [2025-08-27 12:21:32,497] [20000] [ManagerDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:32,497] [20000] [ManagerDevice] [DEBUG] [Wait for available device founded] [2025-08-27 12:21:33,510] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:33,510] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:33,511] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1520, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55103), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:33,556] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1520, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55103), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:33,556] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:35,505] [20000] [ManagerDevice] [DEBUG] [Apply device: release lock con lock] [2025-08-27 12:21:35,505] [20000] [ManagerDevice] [DEBUG] [Apply device: apply lock con lock] [2025-08-27 12:21:35,505] [20000] [ManagerDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:35,505] [20000] [ManagerDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:35,506] [20000] [ManagerEnv] [DEBUG] [Do matches, device:{state:Available, sn:4FHBB24B09100433, label:wearable}, selection option:{device sn:[], label:phone}] [2025-08-27 12:21:35,506] [20000] [ManagerDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:35,507] [20000] [ManagerDevice] [DEBUG] [Wait for available device founded] [2025-08-27 12:21:35,567] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:35,568] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:35,568] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=796, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55108), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:35,612] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=796, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55108), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:35,613] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:37,629] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:37,630] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:37,631] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=796, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55112), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:37,675] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=796, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55112), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:37,676] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:39,687] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:39,688] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:39,689] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1524, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55117), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:39,733] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1524, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55117), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:39,733] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:40,510] [20000] [ManagerDevice] [DEBUG] [Apply device: release lock con lock] [2025-08-27 12:21:40,510] [20000] [ManagerDevice] [DEBUG] [Apply device: apply lock con lock] [2025-08-27 12:21:40,511] [20000] [ManagerDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:40,511] [20000] [ManagerDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:40,512] [20000] [ManagerEnv] [DEBUG] [Do matches, device:{state:Available, sn:4FHBB24B09100433, label:wearable}, selection option:{device sn:[], label:phone}] [2025-08-27 12:21:40,512] [20000] [ManagerDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:40,513] [20000] [ManagerDevice] [DEBUG] [Apply device: release lock con lock] [2025-08-27 12:21:40,513] [20000] [ManagerAospDevice] [DEBUG] [Apply device: apply lock con lock] [2025-08-27 12:21:40,513] [20000] [ManagerAospDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:40,513] [20000] [ManagerAospDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:40,514] [20000] [ManagerAospDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:40,514] [20000] [ManagerAospDevice] [DEBUG] [Wait for available device founded] [2025-08-27 12:21:41,522] [20000] [ManagerAospDevice] [DEBUG] [Allocate device option: apply list con lock] [2025-08-27 12:21:41,522] [20000] [ManagerAospDevice] [DEBUG] [Require device label is: phone] [2025-08-27 12:21:41,522] [20000] [ManagerAospDevice] [DEBUG] [Allocate device option: release list con lock] [2025-08-27 12:21:41,524] [20000] [ManagerAospDevice] [DEBUG] [Apply device: release lock con lock] [2025-08-27 12:21:41,524] [20000] [ManagerEnv] [DEBUG] [Require label is 'phone', then next] [2025-08-27 12:21:41,524] [20000] [Scheduler] [DEBUG] ['TC_Framework_SDK_DFX_Performance_006' is waiting available device] [2025-08-27 12:21:41,525] [20000] [ManagerEnv] [DEBUG] [Do matches, device:{state:Available, sn:4FHBB24B09100433, label:wearable}, selection option:{device sn:[], label:phone}] [2025-08-27 12:21:41,526] [20000] [Scheduler] [INFO] [[1 / 1] Executing: C:/Users/g60042218/PycharmProjects/untitled/HMSCoreHAP/IntegrationTest/DFX/Python/performance/testcases/TC_Framework_SDK_DFX_Performance_006.py, Driver: DeviceTest] [2025-08-27 12:21:41,526] [20000] [Scheduler] [ERROR] [[Environment-0101021] Test source required 1 devices, actually 0 devices were found [Suggestions] 测试用例的设备条件满足] [2025-08-27 12:21:41,527] [20000] [Utils] [INFO] [C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31\result\TC_Framework_SDK_DFX_Performance_006.xml does not exist, create an empty report] [2025-08-27 12:21:41,530] [20000] [ReporterHelper] [INFO] [Generate data report: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31\result\TC_Framework_SDK_DFX_Performance_006.xml] [2025-08-27 12:21:41,742] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:41,743] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:41,743] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1588, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55121), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:41,788] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1588, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55121), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:41,788] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:43,513] [62508] [Concurrent] [DEBUG] [Queue monitor thread end] [2025-08-27 12:21:43,793] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:43,794] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:43,796] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1568, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55125), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:43,839] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1568, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55125), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:43,841] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:44,535] [20000] [ResultReporter] [INFO] [2025-08-27 12:21:44,536] [20000] [ResultReporter] [INFO] [**************************************************] [2025-08-27 12:21:44,537] [20000] [ResultReporter] [INFO] [************** Start generate reports ************] [2025-08-27 12:21:44,538] [20000] [ResultReporter] [INFO] [**************************************************] [2025-08-27 12:21:44,538] [20000] [ResultReporter] [INFO] [2025-08-27 12:21:44,590] [20000] [ResultReporter] [INFO] [Test Summary: modules: 1, repeat: 1, run modules: 0, total: 0, passed: 0, failed: 0, blocked: 0, ignored: 0, unavailable: 1] [2025-08-27 12:21:44,591] [20000] [ResultReporter] [INFO] [Log path: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31] [2025-08-27 12:21:44,591] [20000] [ResultReporter] [INFO] [Generate test report: file:///C:/Users/g60042218/PycharmProjects/untitled/reports/2025-08-27-12-21-31/summary_report.html] [2025-08-27 12:21:44,592] [20000] [ResultReporter] [INFO] [Generate report data: file:///C:/Users/g60042218/PycharmProjects/untitled/reports/2025-08-27-12-21-31/report_data.json] [2025-08-27 12:21:44,593] [20000] [ResultReporter] [INFO] [The total tests of TC_Framework_SDK_DFX_Performance_006 module is 0] [2025-08-27 12:21:44,594] [20000] [ReporterHelper] [INFO] [Generate data report: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31\summary_report.xml] [2025-08-27 12:21:44,595] [20000] [ResultReporter] [INFO] [Generate record file: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31\task_info.record] [2025-08-27 12:21:44,595] [20000] [ResultReporter] [INFO] [Generate summary ini: C:\Users\g60042218\PycharmProjects\untitled\reports\2025-08-27-12-21-31\summary.ini] [2025-08-27 12:21:44,600] [20000] [ResultReporter] [INFO] [Copy summary files to C:\Users\g60042218\.xdevice\latest] [2025-08-27 12:21:44,606] [20000] [ResultReporter] [INFO] [2025-08-27 12:21:44,607] [20000] [ResultReporter] [INFO] [**************************************************] [2025-08-27 12:21:44,607] [20000] [ResultReporter] [INFO] [************** Ended generate reports ************] [2025-08-27 12:21:44,607] [20000] [ResultReporter] [INFO] [**************************************************] [2025-08-27 12:21:44,607] [20000] [ResultReporter] [INFO] [2025-08-27 12:21:44,608] [20000] [Utils] [DEBUG] [Show the current environment. Please wait.] [2025-08-27 12:21:45,850] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:45,851] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:45,852] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=740, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55129), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:45,898] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=740, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55129), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:45,898] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] [2025-08-27 12:21:46,312] [20000] [Utils] [DEBUG] [hypium==6.0.5.11] [2025-08-27 12:21:46,312] [20000] [Utils] [DEBUG] [hypium-turbo==6.0.5.17] [2025-08-27 12:21:46,312] [20000] [Utils] [DEBUG] [xdevice==6.0.5.10] [2025-08-27 12:21:46,313] [20000] [Utils] [DEBUG] [xdevice-aosp==6.0.5.10] [2025-08-27 12:21:46,313] [20000] [Utils] [DEBUG] [xdevice-aw==5.0.2.21] [2025-08-27 12:21:46,313] [20000] [Utils] [DEBUG] [xdevice-devicetest==6.0.5.10] [2025-08-27 12:21:46,314] [20000] [Utils] [DEBUG] [xdevice-oh-apptest==2.25.1.1081] [2025-08-27 12:21:46,314] [20000] [Utils] [DEBUG] [xdevice-ohos==6.0.5.10] [2025-08-27 12:21:46,314] [20000] [Scheduler] [DEBUG] [Starting to notify stage...] [2025-08-27 12:21:46,315] [20000] [Scheduler] [DEBUG] [Starting to upload task result...] [2025-08-27 12:21:46,318] [63388] [Analysis] [DEBUG] [No need to upload analysis data] [2025-08-27 12:21:47,908] [58664] [Adb] [DEBUG] [AdbMonitor connecting to hdc for Device List Monitoring] [2025-08-27 12:21:47,908] [58664] [Adb] [DEBUG] [AdbMonitor socket connection host: 127.*.*.1, port: 8710] [2025-08-27 12:21:47,909] [58664] [Adb] [DEBUG] [AdbMonitor Connected to hdc for device monitoring, main_adb_connection is <socket.socket fd=1732, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55134), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:47,956] [58664] [Adb] [DEBUG] [Handle exception monitor loop: <socket.socket fd=1732, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55134), raddr=('127.0.0.1', 8710)>] [2025-08-27 12:21:47,957] [58664] [Adb] [DEBUG] [Handle exception monitor loop, main hdc connection closed, main hdc connection: <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>] Process finished with exit code 0 分析一下
最新发布
08-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值