Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while downloading google APIs Intel x86 atom system image

I just started to work with Android Studio and I stuck with one problem . When I try to download a system image and create an AVD I get this error

" Install Google APIs Intel x86 Atom System Image (revision: 9) failed

and no matter what API level and what release I try to download, I get this error anyway ... any solutions ??

This is a screenshot of the error

like image 666
aliirezap Avatar asked Jul 20 '19 08:07

aliirezap


2 Answers

1- Do not close the installer

2- Click on "show details"

3- Inside the installer it gives for you this link: https://dl.google.com/android/repository/sys-img/google_apis/x86-30_r09.zip

4- Access it and make the download manually

5- Go to ---Your main root (C: for example) -> Users -> Your main user -> Enable "show oculted files" -> AppData -> Local -> Android -> Sdk

6- Search for google_apis (at the search bar)

7- Open the x86-30_r09.zip and copy the files inside x86 folder

8- At google_apis enter at x86 folder and paste the files

9- Click "Retry" on the installer's error message.

If it stop again with the other download, you can do the same steps but using the another link for x86-2 file

like image 158
Guilherme Simionato Avatar answered Sep 21 '22 10:09

Guilherme Simionato


Defining the problem

I faced the same problem while installing Android SDK on Windows OS:

Install Google APIs Intel x86 Atom System Image (revision: 9) failed

I went through the blogs to fix the problem. The problem is that the following subfolder is not created: %LocalAppData%\Android\Sdk\system-images\android-30\google_apis\x86

NOTE: The name of the android-30 folder changes according to the API level.

This issue is caused by Android Studio running without administrative privileges during installation. So don't try to install Android SDK after installing Android Studio; close Android Studio and run it again with administrative privileges. Follow the steps below to fix the problem:

Step-1

Run Android Studio with admin privileges:

enter image description here

Step-2

To install Android SDK, open Android Studio and follow these steps:

  1. File > Settings > Appearance & Behavior > System Settings > Android SDK

  2. Select the desired SDK and wait for the installation to complete.

enter image description here

like image 42
Sercan Avatar answered Sep 20 '22 10:09

Sercan