Install Android Studio on plain new MacOSX Yosemite
Water
|
12/31/2014
|

MacOSX Yosemite doesn't pre-install java, so when you installed Android Studio, you will get error:

mac no java runtime present

So you have to download java JRE (or SDK) from Oracle Website. But this is java 1.8 and Android Studio require java 1.6.

To fix it, you can edit:

/Applications/Android Studio.app/Contents/Info.plist

and change:

<key>JVMVersion</key>
<string>1.6*</string>

to

<key>JVMVersion</key>
<string>1.8*</string>

Ref: https://intellij-support.jetbrains.com/entries/23455956-Selecting-the-JDK-version-the-IDE-will-run-under