美文网首页
Android device monitor freezes o

Android device monitor freezes o

作者: 路得自己走 | 来源:发表于2019-08-14 23:11 被阅读0次

Android device monitor freezes on Mac OS X

Any way to make it respond to mouse clicks?

image.png

DDMS
最近在学习JVM,需要运行jdk自带的命令行,需要在特定jdk目录下进行,所以需要查看jdk安装目录

1、打开终端,输入:/usr/libexec/java_home -V

 注意:输入命令参数区分大小写(-v是不对的,必须是-V)

如图:3个红框内依次为:输入命令; 当前Mac已安装jdk目录; Mac默认使用的jdk版本;


image

Finally Fixed!!!. This problem occured to me when i was using jdk-8u161-macosx-x64, downgrading the jdk from jdk-8u161-macosx-x64 to jdk-8u151-macosx-x64 solved the issue for me.

  1. Remove your existing java jdk by running this command sudo rm -rf /Library/Java/*
  2. Download the jdk-8u151-macosx-x64 from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.htmlyou need to sign up to oracle to download previous versions of jdk.
  3. intall jdk-8u151-macosx-x64 by just following the instructions.

相关文章

网友评论

      本文标题:Android device monitor freezes o

      本文链接:https://www.haomeiwen.com/subject/mtmojctx.html