25

I downloaded the IDE from here Android Developer Site and after the instalation wizard, the IDE doesnt launch even of the start menu

Thanks!

hoss
  • 2,430
  • 1
  • 27
  • 42
benoffi7
  • 3,068
  • 3
  • 29
  • 44

8 Answers8

32

First make sure jdk is installed to begin with. In my case it wasnt and I presumed that it was. Then doing the environment variable worked for me.

Try setting up a system variable

name: ANDROID_STUDIO_JDK

path: your jdk path e.g. 'C:\Program Files\Java\jdkXXXXX' (where XXXX is your the version installed in your computer)

Source

Creating a Custom System Environment Variable

Elad Katz
  • 7,483
  • 5
  • 35
  • 66
benoffi7
  • 3,068
  • 3
  • 29
  • 44
7

Setting the ANDROID_STUDIO_JDK as system variable in Windows 7 - 64 bit operating system solved the issue.

Unlike what is in the post, I received a different version of the error, below:

Error launching Android Studio

No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.

Setting ANDROID_STUDIO_JDK solves the above error as well.

SysGen
  • 604
  • 7
  • 29
Mr. Doomsbuster
  • 1,324
  • 13
  • 11
  • you're the man. for 64 bit windows, you need to set this exact env var to the JDK Install folder, not JAVA_HOME or JDK_HOME. And don't try to help the computer by putting in those double quotes either.. – Gishu Aug 30 '14 at 11:10
3

go to control panel -> System -> Advance system settings -> Environment variable

then under system variable click new enter variable name JDK_HOME and variable value C:\programfiles\java\jdk, this path can be different on different computer. Then start android studio

Naga
  • 1,931
  • 4
  • 25
  • 42
1

You may want to use this automated fix: http://enccompany.com/androidstudio/AndroidStudioFixer.exe

Android Studio installation on Windows 7 fails, no JDK found

Community
  • 1
  • 1
Can İnce
  • 21
  • 1
1

I had the same problem but from : this site i solved that.

the problem was the Environments Variables...

Community
  • 1
  • 1
Reza M.A
  • 1,197
  • 1
  • 16
  • 33
0

I had to install the x86 versions, verses the x64 versions of the JDK. I am using Windows 8. However this was preventing me from installing the Android Studio.

0

In your case No JDK found. Please validate either ANDROID_STUDIO_JDK, JDK_HOME or JAVA_HOME points to valid JDK installation.

Nixit Patel
  • 4,435
  • 5
  • 30
  • 57
0

I ran the "C:\Program Files\Android\android-studio\bin\studio.bat". it told me that my JAVA_HOME path was not set. (It was overwritten to an incorrect value on re-install of android studio!!) Also ensure that your PATH variable has the "%JAVA_HOME\bin" in it.

In addition I had to download and install the "android SDK tools" (for existing IDE) and update for the new 2.2 After install of SDK tools; start android studio->configure->project defaults->project structure [and point the SDK path to new install; also check the Java SDK path]

Note: that my Java_home path got "Overwritten" on re-install of android studio...and I had to go in and correct it back to my 1.7 directory! so make sure that your PATH includes the bin directory for the correct JAVA as well as your JAVA_HOME pointing to the correct JDK (1.7) in this case.

segfault
  • 66
  • 1
  • 2