Posts Tagged ‘jdk’

Android SDK Windows Installer + JDK 64 bit = FAIL

Just a quick tip, when installing the Android SDK via Windows installer with the 64 bit JDK installed, you may get a “Java SE Development Kit (JDK) not found” error:

The problem is that the Android SDK is not recognizing the 64 bit JDK (duh). In order to work around this, you can do one of two things:

  1. Uninstall the 64 bit JDK and install the 32 bit JDK
  2. Download the Android SDK Windows ZIP file instead of the installer

I’d highly suggest the second option, as it lets you keep the better version of the JDK and doesn’t really require much more work. Just download the ZIP file, extract it where ever you want (C:\android-sdk-windows), and then run the “SDK Manager.exe” to install all the SDK platforms to develop against. After that, add the following 2 directories to your system path (you don’t have to, but it’ll make things easier from the command line):

  • C:\android-sdk-windows\tools
  • C:\android-sdk-windows\platform-tools

Make sure you restart any open command lines to take advantage of the new PATH. That’s it. You are now free to use your favorite workflow, be it native Java or Adobe Air mobile development. Happy Androiding!