关于uiautomator2的atx代理错误问题“atx-agent has something wrong, auto recovering”

如图,代码是正确的,之前已经成功运行过的,但是过了几天再次运行时却报错,问题出现在哪里我也不太清楚,一运行就报“atx-agent has something wrong, auto recovering”

 但我知道该怎么解决这个问题,只要删除    .uiautowator2    文件夹里的配置文件就可以了,如下面两张图所示 打开文件夹  C:\Users\Administrator\.uiautomator2\cache

第一步

 第二步   端口有可能会改变,需要修改端口

 我的技术不高,但还是希望大家一起共同成长,这篇攻略如有问题请指出,我也是个小白

猜你喜欢

转载自blog.csdn.net/rad_color_form/article/details/126834281