当我们尝试手动启动或从终端启动时,Uiautomatorviewer引发错误。 我正在使用macOS Mojave和Java版本12.0.1
Djava.ext.dirs=/Users/user/Library/Android/sdk/tools/lib/x86_64:/Users/Users/Library/Android/sdk/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.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
我已经为android home和java home设置了路径
./ uiautomatorviewer从终端或手动启动