Android studio - manual loading of the system image for the emulator

Good afternoon, I'm a student and trying to create a virtual device in Android Studio, however, my home Internet is too slow to download the system image, I have an Internet cafe with very fast Internet next to me, and I plan to download the system image by clicking on the link in my browser : https://dl.google.com/android/repository/sys-img/google_apis/x86-25_r08.zip

From this post in the window where Android Studio loads the Android Nougat system image

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 can I install it myself on Android Studio and make an emulator?

Thank you very much.

+21
source share
5 answers

On Windows: first find your Android SDK. By default, this is in your C: \ Users \ Your.name \ AppData \ Local \ in this root folder. where you can find: SDK Manager.exe, create a folder called "system-images", my api 25 image is located at system-images \ android-25 \ google_apis \ x86_64 \ Files

Hope you can figure it out. Please comment if you have any problems.

+15
source

On Mac OSX:

~ / Library / Android / sdk / system-images / android- [API_VERSION] / [API_TYPE] / x86

Replace [API_VERSION] with the version of Android you are downloading, and [API_TYPE] could be google_apis_playstore or google_apis depending on whether the download image is coming from Google Play or not.

+11
source

On Windows 10:

  1. Download the file, for example, from: https://dl.google.com/android/repository/sys-img/google_apis/x86-27_r09.zip .
    1. Unzip the archive.
    2. Copy (OR cut, not recommended) the contents of the extracted folder, for example: x86 .
    3. Find the android-sdk folder. By default, it should be located in the folder C: \ Users \ [YOUR USERNAME] \ AppData \ Local \ Android \ Sdk.
    4. Locate the folder named system-images . Create system-images if it does not exist. Depending on the downloaded file, create subfolders in system-images . For example: system-images -> android-27 -.> google_apis
    5. Paste into google_apis .
    6. Restart Android Studio and the system image must be selected.

Scream if you need more help.

+3
source

For windows:

To get the exact path to the system image, first try downloading it from Android Studio, after loading 1%, stop the download and go along the SDK path.

For instance. C: \ Users \ TBR \ AppData \ Local \ Android \ Sdk, you will see the name of the folder "system-images" this folder was created from the download part, open the subfolder until you reach the last subfolder.

For instance. C: \ Users \ TBR \ AppData \ Local \ Android \ Sdk \ image system \ android-27 \ google_apis \ x86 i.e. x86 - last subfolder (delete all contents of this last subfolder)

Download the system images manually, unzip and copy all the content, and then paste it into the last subfolder. Download link for android-27 - https://dl.google.com/android/repository/sys-img/google_apis_playstore/x86-27_r03.zip

Go back to android studio and you will see a system image there.

0
source

Go to AVD Manager in Android Studio (it’s located on the toolbar and looks like an Android tablet on it), then click “Create virtual device” after the “Android Virtual Device Manager” window appears. Then select the device you want to select and click "Next." After that, you can boot the system image.

-5
source

Source: https://habr.com/ru/post/1270875/


All Articles