Android device monitor freezes on Mac OS X
Any way to make it respond to mouse clicks?
image.png
DDMS
最近在學(xué)習(xí)JVM幽七,需要運行jdk自帶的命令行嗦枢,需要在特定jdk目錄下進行,所以需要查看jdk安裝目錄
1、打開終端办绝,輸入:/usr/libexec/java_home -V
注意:輸入命令參數(shù)區(qū)分大小寫(-v是不對的,必須是-V)
如圖:3個紅框內(nèi)依次為:輸入命令驯鳖; 當(dāng)前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.
- Remove your existing java jdk by running this command sudo rm -rf /Library/Java/*
- 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.
- intall jdk-8u151-macosx-x64 by just following the instructions.