使用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!相关推荐

  1. git小文件时报错Remote origin does not support the LFS

    本地有一个超过100m的文件,没有提交成功,回退之后提交的小文件,报错 Remote "origin" does not support the LFS locking API. ...

  2. git删除远程分支报错:remote ref does not exist

    问题描述 在视图删除某个远程分支的时候显示: remote ref does not exist 操作流程 查看全部分支情况 删除远程分支报错 解决方案 解决方案是首先清除远程分支的本地缓存:git ...

  3. 删远端分支报错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: ...

  4. 一个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 ...

  5. 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 ...

  6. 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 ...

  7. ORA-21700: object does not exist or is marked for delete

    关于Troubleshooting Oracle ANYDATA 数据类型存储的自定义类型丢失后ORA-21700 | ANBOB 提到的expdp 报错ORA-21700: object does ...

  8. pytorch保存模型时报错***object has no attribute 'state_dict'

    定义了一个类BaseNet并实例化该类: net=BaseNet() 保存net时报错object has no attribute 'state_dict' torch.save(net.state ...

  9. 启动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 ...

最新文章

  1. linux进程间通信:消息队列实现双端通信
  2. mysql修复坏表的方法
  3. win11 wsl centos7换源aliyun阿里云命令记录
  4. 5个无聊Python程序,用Python整蛊你的朋友们吧
  5. 【AI测试】机器学习项目的测试,算法测试
  6. python 字符串和容器总结
  7. hands-on Machine Learning with sklearn
  8. 不改变原数组的一些方法
  9. BP神经网络:feedforwardnet版回归预测
  10. 从直播CDN的原理说起,谈如何解决延时和连麦的老难题?
  11. 兄弟,学点AI吗?2知识的确定性系统
  12. 数据挖掘之模糊集与模糊逻辑
  13. 百度网盘下载器更新啦!PanDownload又带来了「资源搜索」功能!
  14. 转:组态软件测评∣WinCC、Citect、LabVIEW、InTouch、Ingnition,你更喜欢用哪个?
  15. 判断四个点是否可以构成矩形(优雅的解法!!!)
  16. JSON for modern c++ / nlohmann
  17. html网页如何在手机上实现,html和css结合实现手机端网页自适应的代码
  18. 为程序员更新了Joel测试
  19. 3dsmax-uv展开
  20. DMOZ网站选择标准(转)

热门文章

  1. PHP生成svg矢量图格式的二维码,php 实现svg转化png格式的方法分析
  2. 检测到磁盘可能为uefi引导_==多磁盘UEFI无法引导引导盘缺失解决方案==
  3. 到底什么是互联网思维
  4. python中的模块及路径(2)
  5. 微商猎手(微友猎手)最新免费版免费下载
  6. install.wim 大于4G问题解决方案
  7. Java多可立,java多线程面试
  8. 图神经网络用于检索问题(GraphCM,FNPS,GRAPH4DIV)
  9. 华为鸿蒙编程js初试
  10. Android如何设计一个H5容器