The JRE is different from the SDK, so on OS X you can fix the problem through plist or Terminal.
ctrl-click the Android Studio application and select "Show Package Contents". Open Info.plist with TextEdit or the editor of your choice. Scroll down to the bottom or use cmd-f to find this key. Make sure it looks like this.
<key>JVMVersion</key> <string>1.7*,1.8+</string>
You can change it to <string>1.7,1.8+</string> , which will force Android Studio to use JRE 1.8 by default, but there are problems with drag and drop with this version in Android Studio, so itβs better to wait and just leave it on <string>1.7*,1.8+</string> .
You can also fix this problem in the terminal.
export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk
tymac source share