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)

你可能感兴趣的:(app,自动化)