Android Device Monitor will not launch, either from Android Studio or from Terminal — UnsupportedClassVersionError

后端 未结 8 2162
醉酒成梦
醉酒成梦 2020-12-09 08:11

I am getting the following error when trying to launch Android Device Monitor from the Tools window in Android Studio on a Mac.

and when I open the log file

8条回答
  •  庸人自扰
    2020-12-09 08:42

    The above answer didn't work for me. I'm using JAVA8, both the Android JAVA_HOME and /usr/bin/java. What is weirder for me is my tools/ directory is missing the uiautomationviewer tool as well. So it made me wonder if something went wrong during the installation.

    What I ended up doing was downloading an older verion of SDK-tools (I followed instructions here), and replaced the entire sdk/tools folder. And it worked....

提交回复
热议问题