JavaShuo
欄目
標籤
Uiautomator報錯:Unexpected error while obtaining UI hirerarchy
時間 2021-01-06
標籤
app自動化
欄目
測試自動化
简体版
原文
原文鏈接
該錯誤的原因是android 8.0以上的版本不適用 解決辦法如下: 1.可以使用automatorview導入文件的方式 2.截取uix文件 adb shell uiautomator dump /sdcard/screen.uix 截取文件 3.截取當前設備也就是連接手機的話就是當前手機頁面 adb shell screencap -p /sdcard/screen.png 4.打開sdk
>>阅读原文<<
相關文章
1.
Uiautomatorviewer報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationT...
2.
【Uiautomatorviewer】報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationT...
3.
uiautomator viewer連接機器點擊(uiautomator dump)直接報錯Unexpected error while obtaining UI hierarchy
4.
Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationTargetException
5.
Unexpected error while obtaining UI hierarchy:使用uiautomatorviewer定位元素報錯
6.
uiautomatorviewer鏈接機器點擊報錯Unexpected error while obtaining UI hierarchy
7.
appium uiautomatorviewer.bat 工具報錯:Unexpected error while obtaining UI hierarchy
8.
【Mac+Android+uiautomatorviewer】之報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.I
9.
uiautomatorviewer連接機器點擊報錯Unexpected error while obtaining UI hierarchy
10.
Android-sdk自帶的元素定位工具uiautomatorview報錯:unexpected error while obtaining ui hierarchy
更多相關文章...
•
ADO Error 對象
-
ADO 教程
•
錯誤處理
-
RUST 教程
•
RxJava操作符(五)Error Handling
•
Kotlin學習(二)基本類型
相關標籤/搜索
obtaining
unexpected
uiautomator
error
錯報
報錯
3.unexpected
項目報錯
報錯記錄
測試自動化
PHP 7 新特性
Thymeleaf 教程
Hibernate教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
升級Gradle後報錯Gradle‘s dependency cache may be corrupt (this sometimes occurs
2.
Smarter, Not Harder
3.
mac-2019-react-native 本地環境搭建(xcode-11.1和android studio3.5.2中Genymotion2.12.1 和VirtualBox-5.2.34 )
4.
查看文件中關鍵字前後幾行的內容
5.
XXE萌新進階全攻略
6.
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
7.
zabbix5.0通過agent監控winserve12
8.
IT行業UI前景、潛力如何?
9.
Mac Swig 3.0.12 安裝
10.
Windows上FreeRDP-WebConnect是一個開源HTML5代理,它提供對使用RDP的任何Windows服務器和工作站的Web訪問
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Uiautomatorviewer報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationT...
2.
【Uiautomatorviewer】報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationT...
3.
uiautomator viewer連接機器點擊(uiautomator dump)直接報錯Unexpected error while obtaining UI hierarchy
4.
Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationTargetException
5.
Unexpected error while obtaining UI hierarchy:使用uiautomatorviewer定位元素報錯
6.
uiautomatorviewer鏈接機器點擊報錯Unexpected error while obtaining UI hierarchy
7.
appium uiautomatorviewer.bat 工具報錯:Unexpected error while obtaining UI hierarchy
8.
【Mac+Android+uiautomatorviewer】之報錯:Unexpected error while obtaining UI hierarchy java.lang.reflect.I
9.
uiautomatorviewer連接機器點擊報錯Unexpected error while obtaining UI hierarchy
10.
Android-sdk自帶的元素定位工具uiautomatorview報錯:unexpected error while obtaining ui hierarchy
>>更多相關文章<<