解决方案:

1、打开  "E:\android-sdk_r24.4.1-windows\android-sdk-windows\tools"中的uiautomatorviewer.bat文件

2、找到 uiautomatorviewer.bat 文件最后一行

Unable to connect to adb. Check if adb is installed correctly解决方法
 

把将其中的binddir=%prog_dir%修改为 SDK 的 platform-tools所在路径(我的 SDK 路径为:E:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools)。

3、修改后的最后一行为:

Unable to connect to adb. Check if adb is installed correctly解决方法
 

4、再次启动工具  UI Automator Viewer,就可以正常运行。

 

相关文章:

  • 2021-06-04
  • 2021-06-01
  • 2021-07-14
  • 2022-02-02
  • 2022-12-23
  • 2022-03-04
  • 2022-01-12
  • 2021-07-20
猜你喜欢
  • 2021-04-21
  • 2021-07-07
  • 2021-09-07
  • 2021-05-07
  • 2022-01-17
  • 2021-07-30
  • 2021-04-30
相关资源
相似解决方案