Mac下無(wú)法運(yùn)行uiaotomatorviewer
我安裝了android studio,運(yùn)行sdk/tools/bin下的uiautomatorviewer時(shí),運(yùn)行不了,有以下報(bào)錯(cuò):
請(qǐng)問(wèn)老師這是什么原因呢?
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
[進(jìn)程已完成]
2018-08-25
是不是安裝了兩個(gè)版本的java了?