1

I am trying to install the Android Support package (previously known as the Android Compatibility Library, I think) using the SDK Manager, but it keeps (silently) failing to install.

According the the documentation, it should install to my /extras/ directory, but after what looks to be a successful download and installation from the SDK, the directory is empty. There are no errors in the SDK Manager log, and the module says that it is installed in the list of "extra" packages......but it is not!

Has anyone else had any experience of this?

I'm using Wnidows Vista + Eclipse.

Cheers, Chris

ccbunney
  • 2,282
  • 4
  • 26
  • 42

3 Answers3

1

So - couldn't figure out why the SDK Manager won't install it, but I did find this link on StackOverflow that explains how to manually download packages from the Google repository (this is explained in an external blog here)

This means that I can at least download the .zip file and install it manually!

Community
  • 1
  • 1
ccbunney
  • 2,282
  • 4
  • 26
  • 42
1

Try to run the SDK as admin from the location you had installed.

Saty
  • 1,068
  • 11
  • 24
  • Yes - I did end up doing that eventually and it seemed to work. I think there is also an issue with the Eclipse IDE in windows holding onto directories and files and therefore stopping them being deleted/moved during the SDK installation process. Thanks. – ccbunney Mar 07 '13 at 22:55
  • Yes but u wont face these types of issues if you run your eclipse itself as admin. Its a firewall feature of windows to block any outside program to make changes in its heart(OS installed directory). – Saty Mar 09 '13 at 11:30
0

Alternatively, you could just not use eclipse at all and add the .jar to your build path manually.

  1. Create a directory called "libs" in your project explorer.

  2. Drag and drop the support package file (.jar) into your new "libs" directory.

  3. Right click the .jar file and click "add to build path".

And there you have it :)

Alex Lockwood
  • 83,063
  • 39
  • 206
  • 250