使用uiaotumator viewer 时报错 Remote object doesn't exist!
使用uiaotumator viewer 时报错 Remote object doesn’t exist!
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn’t exist!
1、cmd 中输入 adb devices 检查设备有没有连接上,
2、确认连接后,可以尝试重启uiaotumator viewer;或者重新连接手机;关闭appium;
我是要获取app里的页面元素,关闭了appium重启app后,就可以了。
3、如果还是不行,可以尝试重新启动appium,我第二次遇到这个报错的时候试了上边的方法把appium关了,重启app,结果还是这个报错,我就又打开了appium,启动了服务,好了。。。
以上仅是自己尝试的结果。
后续:
最近发现我们的app中有的列表页面怎么弄都是这个报错,其他页面都没问题,切换到某几个页面就是报错,看了其他的文章说动态页面会这样,比如有播放视频的,暂停播放就好了,我这个还没弄清是什么原因,后续找到解决方法会更新。
使用uiaotumator viewer 时报错 Remote object doesn't exist!相关推荐
- git小文件时报错Remote origin does not support the LFS
本地有一个超过100m的文件,没有提交成功,回退之后提交的小文件,报错 Remote "origin" does not support the LFS locking API. ...
- git删除远程分支报错:remote ref does not exist
问题描述 在视图删除某个远程分支的时候显示: remote ref does not exist 操作流程 查看全部分支情况 删除远程分支报错 解决方案 解决方案是首先清除远程分支的本地缓存:git ...
- 删远端分支报错remote refs do not exist或git: refusing to delete the current branch解决方法
先输入: 在git 命令行终端输入 git fetch -p origin 查看所有分支: git branch -a 然后删除: git push origin -d xxxx 如果报错:git: ...
- 一个numpy报错——ValueError: Object arrays cannot be loaded when allow_pickle=False
在利用numpy打开文件时报错ValueError: Object arrays cannot be loaded when allow_pickle=False 代码: import numpy a ...
- git commit -amend报错 ! [remote rejected] HEAD -> refs/for/master (duplicate request) error: failed to
git commit --amend 提交代码 git push时报错: ` ! [remote rejected] HEAD -> refs/for/master (duplicate req ...
- Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn‘t
使用uiautomatorviewer连接模拟器页面报错:Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncExc ...
- ORA-21700: object does not exist or is marked for delete
关于Troubleshooting Oracle ANYDATA 数据类型存储的自定义类型丢失后ORA-21700 | ANBOB 提到的expdp 报错ORA-21700: object does ...
- pytorch保存模型时报错***object has no attribute 'state_dict'
定义了一个类BaseNet并实例化该类: net=BaseNet() 保存net时报错object has no attribute 'state_dict' torch.save(net.state ...
- 启动Nginx时报错:error while loading shared libraries: librdkafka.so.1: cannot open shared object file: No
安装了Nginx之后,启动时报错: error while loading shared libraries: librdkafka.so.1: cannot open shared object f ...
最新文章
- linux进程间通信:消息队列实现双端通信
- mysql修复坏表的方法
- win11 wsl centos7换源aliyun阿里云命令记录
- 5个无聊Python程序,用Python整蛊你的朋友们吧
- 【AI测试】机器学习项目的测试,算法测试
- python 字符串和容器总结
- hands-on Machine Learning with sklearn
- 不改变原数组的一些方法
- BP神经网络:feedforwardnet版回归预测
- 从直播CDN的原理说起,谈如何解决延时和连麦的老难题?
- 兄弟,学点AI吗?2知识的确定性系统
- 数据挖掘之模糊集与模糊逻辑
- 百度网盘下载器更新啦!PanDownload又带来了「资源搜索」功能!
- 转:组态软件测评∣WinCC、Citect、LabVIEW、InTouch、Ingnition,你更喜欢用哪个?
- 判断四个点是否可以构成矩形(优雅的解法!!!)
- JSON for modern c++ / nlohmann
- html网页如何在手机上实现,html和css结合实现手机端网页自适应的代码
- 为程序员更新了Joel测试
- 3dsmax-uv展开
- DMOZ网站选择标准(转)