If you have installed Android Studio on your MAC, you may run into an error that says “Android Studio was unable to find a valid Jvm” when you try to open this up. After a little work I was able to get it fixed and here is how I did it.
/Applications/Android Studio.app/Contents/Info.plist has a setting in there that is looking for JDK 1.6*. Any good computer user will update their java as they need to so chances are that you will have 1.7 or even 1.8.
We just have to tell Info.plist to look for your version instead of 1.6
- Go here and check which java version that you have – https://www.java.com/en/download/installed.jsp.
- Mine was 1.8
- Edit /Applications/Android Studio.app/Contents/Info.plist
- May live somewhere else on your machine
<string>1.(7 or 8)*</string>
- Save and exit
That fixed me right up and I was able to start working in the tool.
Hope it helps.