Appium学习(2)

来源:互联网 发布:淘宝卖家如何开通微淘 编辑:程序博客网 时间:2024/05/17 06:22

UI Automator Viewer的使用:


打开uiautomatorviewer.bat(路径:D:\SDK\tools\bin)时使用截图提示不能连接到adb,见图

Unable to connect to adb. Check if adb is installed correctly.


解决方法:

1.打开uiautomatorviewer.bat文档(我在sublime中打开文件,选择uiautomatorviewer 的路径)

2.找到文档的最后一行

3.将%prog_dir%更改为SDK的platform-tools路径,结果为




原创粉丝点击