Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Manager, local copy of packages

Tags:

android

sdk

On Windows XP, is there a way to:

  • Find the packages being downloaded by Android SDK Manager,
  • Create backup copies of the packages,

And then later, on a fresh install of Windows XP:

  • Install Android SDK Manager,
  • Copy the backup copies of the packages to the "correct" location,
  • and install the packages?
like image 238
blunders Avatar asked Apr 24 '12 01:04

blunders


1 Answers

Assuming you are using latest Android SDK r18-

The OS wouldn't matter, below steps would work for PC, Mac or Linux also.

  1. Download SDK for required platform.
  2. Install required packages, like API 8, Google APIs etc.
  3. Now after installing required packages you should see these folders in your SDK installation directory. ( platforms, extras, add-ons, system-images )
  4. Just copy them to other system (zip first as these have thousands of files) where you need to have the packages installed. (Install SDK r18 beforehand, extract the zip or use .exe, but don't run SDK manager to update)
  5. Launch SDK Manager and it should detect the packages.

Alternatively copy complete SDK installation folder and copy it to other system, but it would only work on Windows to Windows and Linux to Linux or Mac to Mac.

like image 105
Sameer Sharma Avatar answered Sep 29 '22 12:09

Sameer Sharma