Android Studio Not Installing
I didn't have Java installed. After installing the JDK I got the error that included, "If you believe you have a JDK installed and it was not properly recognized, simply set an environment variable JAVA_HOME to point to it/" I tried setting the variable, it did nothing.What it doesn't tell you is you need the 32(x86) bit version of Java not the 64(x64). After re-installing the 32 bit version of Java Android Studio let me install it.
Android Studio Not Opening After Installed
After installing, it wouldn't open, and didn't give any reason why. This helped me, you actually need the environment variable set. I made a variable called "JAVA_HOME" and set it to "C:\Program Files (x86)\Java\jdk1.7.0_21\".To set a variable click on properties of "Computer", click "System Properties", under the "Advanced Tab" there is a button for "Environment Variables". Just create a new user variable. This was on Windows 8, but it it almost exactly the same on Windows 7.