【发布时间】:2019-11-30 00:28:21
【问题描述】:
今天我跟着 Youtube 设置我的笔记本电脑(linux-Debian)来安装 android SDK工具,我已经通过命令行在环境变量中设置了PATH [终端线路]:
hauying@hauying-yoga-linux:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/hauying/Android/tools:/home/hauying/Android/platform-tools
设置PATH成功后,无法打开“uiautomatorviewer”。 当我尝试打开它时显示以下错误: [终端线路]:
hauying@hauying-yoga-linux:~/Andriod/tools/bin$ '/home/hauying/Andriod/tools/bin/uiautomatorviewer'
-Djava.ext.dirs=/home/hauying/Andriod/tools/lib/x86_64:/home/hauying/Andriod/tools/lib is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
我尝试使用命令 -classpath ,但找不到该命令。
如何打开我的“uiautomatorviewer”。请帮忙。
【问题讨论】:
标签: python appium ui-automation