python uiautomator obtaining UI hierarchy Remote object does
未知
2021-09-22 10:04:44
0

问题描述:

打开C:\Users\Administrator\AppData\Local\Android\android-sdk\tools 下面的uiautomatorviewer.bat使用第三个按钮点击出画面时报错:Error obtaining UI hierarchy Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn’t exist

解决办法:

可以在windows中cmd使用命令
adb kill-server
adb start-server
重启 adb 服务可解决问题

可以在linux使用命令
sudo adb kill-server
sudo adb start-server
重启 adb 服务可解决问题

相关内容

浙江宁波喊停“刷医保购买华...
浙江宁波暂停使用医保卡购买华为WATCH D2智能手表,规范医保资...
2025-02-09 22:00:58
如何识别和应对网络攻击中的...
摘要:Webshell威胁是网络攻击的重要形式,通过观察流量、检查...
2025-02-09 21:46:37
Webshell在网络攻击...
本文介绍了Webshell的概念、危害及传播途径,提出了包括加强安...
2025-02-09 21:00:40
网络攻击中Webshell...
本文介绍了Webshell的危害与攻击方式,提出了增强系统安全配置...
2025-02-09 20:46:45
PHP upload_ma...
PHP `upload_max_filesize` 详细介绍与最佳...
2025-02-09 17:00:39
upload_max_fi...
`upload_max_filesize` 是 PHP 中限制文件...
2025-02-09 16:46:42

热门资讯

python pip安装req... python pip安装requests报错一片红解决方法
python uiautoma... 问题描述: 打开C:\Users\Administrator\AppData\Local\Andro...
解决You are using... You are using pip version 21.3.1, however version ...
查询pthon chromed... 查询pthon chromedrive是否匹配,确认当前的Google Chrome版本号与chro...
Python中安装库时报错:W... WARNING: Running pip as the 'root' user can result...
python cannot i... appium_python_client已经安装,selenium也安装了,报错:cannot im...