尝试使用uiautomatorviewer拍摄快照时出现'adb not installed'错误

and*_*esh 7 android adb ui-automation android-emulator

我使用uiautomatorviewer来做UI自动化.但是当我尝试拍摄快照以列出UI时,它显示adb未安装.

小智 14

请参阅https://plus.google.com/u/0/108487870030743970488/posts/2TrMqs1ZGQv上的答案

基本上,该com.android.uiautomator.bindir属性没有设置uiautomatorviewer.bat.

编辑文件并将属性设置为android-sdk/tools文件夹的路径.