Can not start monitor (android studio) on my Mac

77 Views Asked by At
  1. I have Android studio installed on my Mac
  2. Once navigate to /Users/mac-194/Library/Android/sdk and try to run Monitor, receive an error:

enter image description here

What can be done to make it work?

1

There are 1 best solutions below

0
mirancon On
  1. Install java-jdk 8 version under or equal 8-151
  2. Go to monitor-x86_64 folder in mandoid-sdk
  3. Right click on monitor.app and chose "Show Package Content"
  4. Go to Contents folder and open Info.plist in any text editor
  5. Find section "Eclipse" and uncomment line "-vm/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java"
  6. Correct this line with valid path to your eatly installed jdk. Save It.
  7. Run monitor.app. Enjoy.