zoukankan      html  css  js  c++  java
  • 【Android】【问题解决记录】Error obtaining UI hierarchy :Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!

      

      在使用uiautomatorviewer时遇到两类Error obtaining UI hierarchy报错,分别是:

     Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!

    Error taking device screenshot: EOF

    解决方法

    尝试过很多网上查找的方法,有说是Appium影响的,最后还一言不合把Appium也卸载了,但是还是无果。其实问题根源很简单。是电脑端的adb版本过高导致 ┓( ´∀` )┏

    执行adb shell getprop ro.build.version.sdk,查看手机sdk版本为28,而电脑安装的platform-tools是29,看来adb版本过高也不可以。最后重新下载个28版本即可搞定(๑•̀ㅂ•́)و✧

  • 相关阅读:
    控制器的功能和工作原理
    数据通路的功能和基本结构
    指令的执行过程
    CPU的功能和基本组成结构
    CSS介绍
    html内容
    web简单介绍
    事务隔离机制介绍
    多版本并发控制MVCC
    数据库锁机制
  • 原文地址:https://www.cnblogs.com/lilip/p/11089713.html
Copyright © 2011-2022 走看看