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

后端 未结 8 2143
醉酒成梦
醉酒成梦 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条回答
  •  -上瘾入骨i
    2020-12-09 09:04

    I had the same problem. Win10 + JDK 12 + Android Sdk. When I ran "monitor.bat", it is the exactly the same problem. I guess monitor application can not reconginize the latest java version naming convention. I install JRE 8(as follows), the problem is gone.

    c:\>java -version java version "1.8.0_221" Java(TM) SE Runtime Environment (build 1.8.0_221-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

提交回复
热议问题