uiautomatorviewer启动报错

解决方法:

jdk的版本太高了,我重新安装了1.8的jdk就可以正常使用了

问题描述:

-Djava.ext.dirs=lib\x86_64;lib is not supported.  Use -classpath instead.

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

下面是我的java版本和javac版本

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

猜你喜欢

转载自blog.csdn.net/countofdane/article/details/80421629