File "/home/webapps/.local/lib/python3.8/site-packages/adbutils/__init__.py", line 154, in read_string_block
size = int(length, 16)
uiautomator2连接设备发现老是容易触发这个问题,发现运行到这里给length传值为FAIL,这样子转不了int,发现连接设备有问题,最终在每次运行是重启运行adb服务标签:16,int,length,invalid,literal,FAIL From: https://www.cnblogs.com/fengliting/p/17041051.html