Fresh install of El Capitan(10.11), tried to install Android Studio version 1.21.
Error:
Android Studio was unable to find a valid JVM. Please download it from:
Download available from Apple -Java for OS X 2014-001 also does not install.
Error:
Java for OS X can't be installed on this disk. A newer version of this package is already installed
What is the best way of getting this to run?
For it to work on El Capitan (OSX 10.11) you need to install the Java Development Kit, not only Java VM
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
After installing JDK, Android Studio runs as expected!