我正在尝试启动 UiAutomatorViewer,但出现以下错误:
-Djava.ext.dirs=/home/user/Workspace/android-sdk-linux/tools/lib/x86_64:
/home/user/Workspace/android-sdk-linux/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.
我的 Java 版本是openjdk version "9-internal"
答案1
已修复,我将 openjdk 从 9 降级到 8