问答详情
源自:4-1 综合实战

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


[进程已完成]


提问者:qq_嘻嘻 2018-08-22 17:34

个回答

  • Jasonzming
    2018-08-25 10:24:36

    是不是安装了两个版本的java了?