【Mac + ATX基于uiautomator2】使用weditor时,报错:requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))

 

之前讲过怎么安装u2(【Mac安装,ATX基于uiautomator2】之安装步骤)以及使用weditor,

但是经过一段时间,weditor不用的时候再打开发现,报错了:

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))

解决办法如下:

pc命令行里再执行一次:python -m uiautomator2 init,再重新更新下就可以了!!

 

猜你喜欢

转载自www.cnblogs.com/Owen-ET/p/9951730.html