设置路径后无法打开uiautomatorviewer

2024-09-21 07:30:26 发布

您现在位置:Python中文网/ 问答频道 /正文

今天我在Youtube上安装了我的笔记本电脑(linux-Debian) androidsdk工具,通过命令行在环境变量中设置路径 [终端线路]:

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

成功设置路径后,无法打开“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.

我尝试使用command-classpath,但找不到这个命令。你知道吗

如何打开“uiautomatorviewer”。请帮忙。你知道吗


Tags: 路径终端homebinlinuxusrlocaltools

热门问题