Workaround is to set a variable indicating the location of Java [b/55281]: Open Start menu > computer > System Properties > Advanced System Properties In the Advanced tab > Environment Variables, add new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1. 7.0_21.
Read moreHow do I get Android Studio to work?
Launch the Android Studio DMG file. Drag and drop Android Studio into the Applications folder, then launch Android Studio . Select whether you want to import previous Android Studio settings, then click OK.
Read more