Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK - Install system image packages offline

Tags:

due to IT restrictions I cannot use to package-install-automation of the Android SDK.

To be able to create an emulator in Androids' AVD manager, I first of all need a system image for my target device. But regarding the below screenshot I haven't installed any.

So can anyone tell me: 1. where to get an system image for Android 6.0 API Level 23 2. how to install this system image manually/offline

Thank you in advance!

enter image description here

like image 325
Steve Murdock Avatar asked Apr 08 '16 13:04

Steve Murdock


People also ask

Can I delete Android SDK system images?

The Process is relatively simple and is as follows: Select the image from Android SDK Manager. Remove the unnecessary system image by selecting the image and then clicking Delete package.

How do I manually download Android emulator?

In Android Studio, go to Tools > SDK Manager. In the SDK Tools tab, select the latest version of Android Emulator, and click OK. This action installs the latest version if it isn't already installed.


2 Answers

Firstly select the system image to be downloaded in android studio sdk, then it will start downloading the image and will say Downloading from <url>. Copy that URL and download from some download manager like IDM and after downloading, extract the files in system-images folder.

The directory structure pattern is sdk-folder/system-images/android-<api_number>/google_apis/x86 (or armeabi-v7a).

So, extract in correct pattern and then open the android studio sdk, you will see that the package is installed.

Now, you can make a virtual device from the downloaded system image.

like image 126
Astitva Srivastava Avatar answered Oct 16 '22 10:10

Astitva Srivastava


SDK manager does not work for you? In any case, there are several sites which can be used to download Android SDK system images:

https://web.archive.org/web/20191210131925/http://ady.my/viewer/system-image/

http://www.hariadi.org/android/manual-download-of-android-sdk-components/

Or alternatively Hard way : for Windows, using the SDK Manager, First make sure you have download caches enabled,then fetch/reload the packages. Then go to My Computer and open folder .android: => C:/Users/your_username/.android/ (Make sure you have enabled "show hidden files" option) In there try to locate several xml file in cache dir. Those xml files contains URLs and other data of all the sdk package. Every package available in sdk manager can be downloaded through appropriate URL from there. Open XMLs in IE and try to find what you need. Then you can use URLs from there and you're good to go.

Hope this helps

like image 29
Harshiv Avatar answered Oct 16 '22 11:10

Harshiv