找元素:打开ui automator 位置在 G:\Python\appium\androidsdk\androidsdk\tools\bin uiautomatorviewer.bat
双击它
找到 set swt_path=%ANDROID_SWT%
改成set swt_path=G:\Python\appium\androidsdk\androidsdk\tools\lib\x86_64
java jdk的环境变量改成对应的版本就可以了。
找元素:打开ui automator 位置在 G:\Python\appium\androidsdk\androidsdk\tools\bin uiautomatorviewer.bat
双击它
找到 set swt_path=%ANDROID_SWT%
改成set swt_path=G:\Python\appium\androidsdk\androidsdk\tools\lib\x86_64
java jdk的环境变量改成对应的版本就可以了。