Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

Missing javax/net/ssl/SSLKeyException

I just downloaded Android SDK ("android-sdk_r05-linux_86.tgz") and installed it on Linux. Running it from the command-line brougth up the "Android SDK and AVD Manager" immediately. But after clicking the "Available Packages" and clicking the arrow for the first repository, I got the following error message on the command-line:

Exception in thread "Loading Source" java.lang.NoClassDefFoundError: javax/net/ssl/SSLKeyException

What happened? Very disappointed with the SDK so far. It says "JDK (version 5 or 6 required)". I have JRE 1.5, which is version 5:

java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode)

Anyone know what's the deal? And how do I fix it?

Chieh Cheng
Mon, 17 May 2010 23:15:15 +0000

I didn't solve the problem yet, but I found a way to download the packages manually. You can put the repository URL ("") into your web browser. This would get you an XML file with the content spec. Reading the XML, you can find the files to download. For example, Android 2.1 platform has three files: "", "", "". Then you can download the file by adding the file name to the repository URL prefix: ""

I'm downloading the Android 2.1 Platform for Linux now. Not sure what I'd do with it yet. But I'll keep you posted.

Chieh Cheng
Mon, 17 May 2010 23:27:52 +0000

The solution is to install a newer JRE version. I installed version 1.6.0_20 and now the AVD Manager works.

I haven't got a chance to play with the manual download yet. But maybe that's unnecessary, unless you want to do manual installs in the future (where you don't have Internet connection).

Chieh Cheng
Mon, 17 May 2010 23:39:57 +0000

Ok, to manually install the package, just unzip it into the Android SDK "platforms" directory.

Chieh Cheng
Mon, 17 May 2010 23:55:12 +0000

to automate installation use a script like the following. Correct your platforms_dir and zip_storage_dir before run:

if [ ! -d $zip_storage_dir ]; then mkdir $zip_storage_dir; fi


for i in $files_list;
cd $zip_storage_dir
if [ ! -e $i ]; then
wget $repo_url/$i;
mv $i $platforms_dir;
cd $platforms_dir
unzip $i;
mv $i $zip_storage_dir

Sergey Romanovsky
Wed, 02 Mar 2011 19:48:58 +0000

sorry there was a copy-paste error. here's the script attached.

Attached File: (1 KB)

Sergey Romanovsky
Wed, 02 Mar 2011 19:51:01 +0000

Thanks, Sergey. That script will come in real handy. Very tempted to modify it so that it will download and generate a list of files automatically.

Chieh Cheng
Thu, 03 Mar 2011 00:34:53 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Need JRE 6 to Install JDK 6
Weblog: Cynosure.X International
Excerpt: I just tried to install JDK 6 on Linux and got the following error message:Could not locate a suitable Java runtime.Please ensure that you have Java 6 or newer installed on your systemand accessible in your PATH or by setting JAVA_HOMEI thought that was hilarious. JDK has the Java Runtime Environmen . . .
Tracked: Mon, 17 May 2010 23:40:55 +0000

Title: Android SDK Release 6 Causes NullPointerException on Mac OS X
Weblog: Cynosure.X International
Excerpt: I just upgraded to Android SDK Release 6. But I can't get any packages from the repositories, because of the following error message:XML verification failed for java.lang.NullPointerExceptionI don't know what's causing this error or . . .
Tracked: Mon, 24 May 2010 05:54:14 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 9 + 5?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

32 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.