8

I have downloaded the java jdk, and the android sdk installer, but when I run the android sdk installer, it works fine until the screen where it checks for the java jdk.

It starts to not respond, then after about 15 seconds, a crash message pops up.

Any help with this issue?

Liam W
  • 1,193
  • 1
  • 26
  • 46
  • 1
    Usually a crash message says something about why a crash occured. If, in your case, the crash message provide usefull information, share it. – sschrass May 06 '12 at 12:20
  • Did you install the jdk first? That's necessary... – Barak May 06 '12 at 12:33
  • I think he forgot updating the path. But I'm curious about the error message, I think it says exactly that. – sschrass May 06 '12 at 12:35
  • 2
    It isn't really an error message, it just says, after a black box with java on the title bar: $(^Name) has stopped working Windows is checking for a solution to the problem. And it doesn't find a solution :( – Liam W May 06 '12 at 16:25
  • The solution for me was to download the .zip package of the Android SDK. The installer seems corrupted. – Tony Oct 08 '12 at 10:06
  • Tony, from where'd you download the .zip? – Karim Varela Jun 22 '13 at 03:12

3 Answers3

16

it may be a bit late, no solution on the internet worked for me and finally out of desperation I deleted the registery key:

HKEY_LOCAL_MACHINE\Software\JavaSoft (not in Wow6432Node)

And it worked! I hope I just saved someone from looking for a solution for two hours like I did.

Praveenkumar
  • 24,084
  • 23
  • 95
  • 173
Dima
  • 672
  • 9
  • 9
  • Erm, just a bit late. I got it to work ages ago - my download manager was downloading a corrupt version :/ Accepted anyway :) – Liam W Jul 25 '12 at 14:26
  • 1
    This also fixes an identical problem with "Android Studio" installer. Both current Android SDK and Android Studio suffer from this problem. – gb96 Jun 10 '13 at 09:37
  • Worked! Just adding back the missing JDK_HOME environment (as described here: http://stackoverflow.com/a/16574523/133516) doesn't work (or not enough)! – Edwin Yip Aug 19 '13 at 05:55
2

The issue for me was that I did not have the 32-bit version of the JDK installed. I only had the 64-bit version.

mfrancis107
  • 1,401
  • 1
  • 13
  • 21
1

This answer might come a little late, but before installing the Android SDK I had about 6 versions of Java installed. Simply uninstalling every version and then installing the latest JDK for 32 or 64 bit will fix this crash.

mrexodia
  • 648
  • 12
  • 20