For debugging, it is very useful to run C:\Program Files (x86)\Android\android-studio\bin\studio.bat .
This indicates what is wrong. In my case, I had to update the JDK_HOME environment variable to indicate a fix installation.
From the android documentation (this part was published after I wrote my answer):
Known issue: On some Windows systems, the script launcher cannot find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Choose Start> Computer> System Properties> Advanced System Properties . Then go to the Advanced tab > Environment Variables and add a new JAVA_HOME system variable that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21 .
rekire May 16 '13 at 6:54 am 2013-05-16 06:54
source share