Reputation: 151
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
Upvotes: 14
Views: 83422
Reputation: 9
You should have a good internet connection or maybe you should use a VPN or change your DNS addresses.
Upvotes: -1
Reputation: 11
Go to SDK manager and then search Optimize Disk Space on top right. Use Optimize Disk Space to clean the error stored part of INTEL ATOM SYSTEM IMAGE. Now, Update or download it again.
Upvotes: 1
Reputation: 5081
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:
Run Android Studio with admin privileges:
To install Android SDK, open Android Studio and follow these steps:
File > Settings > Appearance & Behavior > System Settings > Android SDK
Select the desired SDK and wait for the installation to complete.
Upvotes: 11
Reputation: 1043
Ubuntu 20.04
Remove .downloadIntermediates/
folder from your SDK location /.../Android/Sdk/
Upvotes: 1
Reputation: 401
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
Upvotes: 30
Reputation: 1
Use the Android SDK bundled with Xamarin Visual Studio.
Upvotes: 0
Reputation: 1186
In Preferences > Appearance and Behavior > System Settings > Android SDK
Edit the Android SDK path:
For Windows:
C:\Users\<user>\AppData\Local\Android\Sdk
For MacOS X:
/Users/<user>/Library/Android/sdk
Upvotes: 0