Mac下無法運行uiaotomatorviewer
我安裝了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
[進程已完成]
2018-08-25
是不是安裝了兩個版本的java了?