Steve Murdock
Steve Murdock

Reputation: 723

Android SDK - Install system image packages offline

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

Upvotes: 20

Views: 58899

Answers (4)

Harshiv
Harshiv

Reputation: 386

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

Upvotes: 6

perellorodrigo
perellorodrigo

Reputation: 536

For those with difficulty in finding the correct path to install. The path will depend whether the image is a playstore image or not.

You can figure out by looking at the images download link:

If the download link is inside the folder google_apis, e.g:

https://dl.google.com/android/repository/sys-img/google_apis/<api-file-name>.zip

Your folder structure should look like:

sdk-folder/system-images/android-<api_number>/google_apis/

But if the download link is inside the folder google_apis_playstore, e.g:

https://dl.google.com/android/repository/sys-img/google_apis_playstore/<api-file-name>.zip

Then your folder structure should look like:

sdk-folder/system-images/android-<api_number>/google_apis_playstore/

Upvotes: 3

Astitva Srivastava
Astitva Srivastava

Reputation: 675

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.

Upvotes: 35

mfaisalhyder
mfaisalhyder

Reputation: 2284

you can follow this link for manually installing the System Images for emulator, i just installed Android 6.0 (sysimg_x86-23_03) so that i can still render Marshmallow layouts in Eclipse.

These are the sites from where you can download them offline. Mostly you will require Intel x86 System image or Intel x86_64.

First, but on this site every version of System image is most recent so you can download :

Intel x86-23_r0X from here (Revisions are from 03 to 09)

Intel x86_64-23_r0X from here (again, Revisions are from 03 to 09))

Hope i helped those who are looking for solution for older Intel System Images for Android 6.0.

Upvotes: 2

Related Questions