android studio - manually download system image for emulator
Good day,I'm a student and I'm trying to create a virtual device in Android Studio, however my home internet is too slow to download a System Image, there is an internet cafe near me that has very fast internet and I plan to download the System Image there by accessing in my browser this link : https://dl.google.com/android/repository/sys-img/google_apis/x86-25_r08.zip
From this message in the window where Android Studio downloads the System Image for Android Nougat
To install:
- Google APIs Intel x86 Atom System Image (system-images;android-25;google_apis;x86)
Preparing "Install Google APIs Intel x86 Atom System Image".
Downloading https://dl.google.com/android/repository/sys-img/google_apis/x86-25_r08.zip
However I do not know how to install it in android studio. How am I able to install it myself on android studio and make an emulator?
Many thanks.
Solution 1:
In windows: First locate your android-sdk. By default it's in your C:\Users\Your.name\AppData\Local\ in it's root folder. where you can find: SDK Manager.exe, make a folder name it "system-images", my api 25 image is at system-images\android-25\google_apis\x86_64\Files
Hope you can Figure it out. Comment if you have any problem.
Solution 2:
In mac OSX:
~/Library/Android/sdk/system-images/android-[API_VERSION]/[API_TYPE]/x86
Replace [API_VERSION]
with Android version you are downloading and the [API_TYPE]
can either be google_apis_playstore
or google_apis
depending on whether the image you are downloading comes with Google Play or not.
Solution 3:
On Windows 10:
- Download the file from e.g.:
https://dl.google.com/android/repository/sys-img/google_apis/x86-27_r09.zip.
- Extract the zipped file.
- Copy (OR Cut, not recommended) the contents of the extracted folder e.g.:
x86
. - Find the
android-sdk
folder. By default, it should be located at C:\Users\[YOUR USER NAME]\AppData\Local\Android\Sdk. - Look for a folder named
system-images
. Createsystem-images
if it doesn't exist. Depending on the file you downloaded, create subfolders withinsystem-images
. E.g.:system-images
->android-27
->google_apis
. - Paste within
google_apis
. - Restart
Android Studio
and the system image should be selectable.
Shout if you need any further assistance.