I just launched the Android device monitor for the first time on OSX but it freezes and I am not able to click anywhere, it just does not respond to any mouse or keyboard input.
I think it's downloading, I have very good internet speed, but it's downloading very slowly. I tried to download a song and it downloaded 5 MB in 30 seconds, and for this case it's downloading 2 MB in 5-10 min and its size is about 540 MB, so please assist me with what should I do to download fast? Any help would be appreciated.
Is there any manual way to download and connect it to Android Studio?
Any way to make it respond to mouse clicks?
Alternatively you can keep latest jdk and update swt used by monitor:
get updated swt: https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/swt-4.7.1a-cocoa-macosx-x86_64.zip
unzip somewhere
copy extracted swt.jar over lib/monitor-x86_64/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.100.1.v4236b.jar
While other answers are correct that the solution is to use an old version of the JDK, just replacing the latest JDK was not an option for me (and should not be for you, either!). To get monitor
working with an older Java version installed along the newest one, do the following:
<android-sdk>/tools/libs/monitor-x86_64/
monitor.app
application and right click on it, select "Show Package Contents"Contents
and edit Info.plist
in a text editor<key>Eclipse</Key>
sectionUncomment one of the <string>-vm</string>...
lines and point it to the 1.8 151 JDK, like so:
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java</string>
Remember that you'll have to do this again when the tools are updated!
Finally issue resolved. It was JDK java version.
Changed it to a level below and its working now.
java.version=1.8.0_152-ea --> not supported it seems
java.version=1.8.0_151 --> working fine with it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With