cmd命令,到目录下,运行uiautomatorviewer.bat报错:
SWT folder '..\lib\location of your Java installation.' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
1、网上查首先排查是jdk需要1.8以上,但我电脑本来就是安装的1.8,
2、再次排查说是swt.jar的没有配置环境变量,然后去配置了
3、配置完成后,重新启动,就正常了,在这里记录一下。