Android studio doesn't start

It's a bug of Android Studio 0.1v

You should add JAVA_HOME to the system environment variables.

http://tools.android.com/knownissues#as0.1

  • 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

  1. Install latest Java Development Kit.
  2. Set path in system variables for Java (ie *C:\Program Files\Java\jdk1.7.0_21\bin*)
  3. Set JDK_HOME system variable (ie *C:\Program Files\Java\jdk1.7.0_21*)
  4. If not working, set JAVA_HOME in system variable too (ie *C:\Program Files\Java\jdk1.7.0_21*)
  5. If not working, check if you don't have spaces at the ends of the lines in system variables (PATH, JDK_HOME, JAVA_HOME)

You don't have to restart computer after changing system variables, just reload command prompt (if you are using it).

If it still not working, you probably have java.exe in C:/Windows/System32/. Rename it, restart command prompt and type java -version to check if you are using correct version of JDK.

I've posted tutorial how to fix Android Studio with screenshots on my blog.


I have had a similar problem with Android Studio 1.0 in windows 7 x64. When I ran studio64.exe it flashed the android studio logo and it disappeared immediately. Also I tried

studio64.exe > error.log

to figure out possible errors. JAVA_HOME=C:\Program Files\Java\jre1.8.0_25 environment variable was correctly setted.

Finally I decided to uninstall all Java versions (I had a mess of different java versions installed), both jdk and jre and reinstalled last version jdk 1.8.0_25. My problem was solved.

Regards,