我安装了android studio,运行sdk/tools/bin下的uiautomatorviewer时,运行不了,有以下报错:
请问老师这是什么原因呢?
Last login: Wed Aug 22 17:32:34 on ttys000
-bash-3.2$ /Users/videojj/Library/Android/sdk/tools/bin/uiautomatorviewer ; exit;
-Djava.ext.dirs=/Users/videojj/Library/Android/sdk/tools/lib/x86_64:/Users/videojj/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
[进程已完成]
是不是安装了两个版本的java了?