"The following SDK components have not been installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22"

I am a 64-bit Windows 7 user, and I had a problem with Android Studio after updating the latest version of the Android Studio components and SDK .

 The following SDK components were not installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22 

Please help me solve this problem. Thank.

+42
android android-studio windows-7-x64 sdk
May 02 '15 at 15:40
source share
15 answers

I have the same problem when trying to update Android Studio from 1.1 to 1.2 on Mac OS 10.10. I solved the problem by choosing the normal installation instead of the standard one. We also need to choose the Android SDK platform (Lollipop 5.1).

+43
May 04 '15 at 16:29
source share

enter image description here

  • Select a new user interface design -> next
  • Just try unchecking the “Download components” button in the upper right corner of the “X” button.
  • A dialog box will appear, then click OK (wait first (wait first) to start)
+12
May 7, '15 at 12:37
source share

I delete only the Android studio (I keep the SDK and the emulator), and then reinstall it only on the Android studio. took me for 2 minutes and my work in android worked again.

+6
May 2 '15 at 20:01
source share

I had the same problem, but I am a Linux user.

I solved the problem by repeating the installation as administrator. [For those Linux users who read this, I started studio.sh using sudo .]

+4
May 08 '15 at 13:51
source share

I just click Retry and everything is fine! Also runs on a 64-bit version of Win7.

+4
Dec 03 '15 at 6:40
source share

go to c-> users → [User account] → remove android 1.2 and restart Android studio when it asks to import the first switch, which is the import parameter from the previous configuration

there you are fixed

+3
Jun 10 '15 at 4:54
source share

I am using Windows 7 Professional and I had the same problem. @Bayu Mohammad Lufty did not work for me.

I just delete .AndroidStudio1.2 from my C: \ Users \ Username \ and restart my android studio again. He's great at opening Android Studio! He set everything up again in the next run :)

+2
May 08 '15 at 6:32
source share

I am a MacOS user.

I solved this by uninstalling Android Studio and installing it again.

If you want to try this link, they helped me a lot.

Uninstall Android Studio MacOS (terminal)

+2
May 19 '15 at 20:46
source share

When you install Android Studio, the "Installation Type" section does not use the standard settings, instead use the custom settings and check the boxes in the next step.

+2
Jul 22 '15 at 1:51 on
source share

I solve the same problem

i am updating my android studio and I do not want to import my settings from my previous version than this problem.

than I understand that I have 2 AndroidStudio in my Windows account (.AndroidStudio and .AndroidStudio1.2), and there is no other.xml file in my new folder .AndroidStudio1.2.

than I copy the other.xml file from C: \ Users \ name of my windows.AndroidStudio account \ config \ options to C: \ Users \ name of my Windows account.AndroidStudio1.2 \ config \ options

and that I solve my problem.

+1
May 05 '15 at 4:24
source share

TRY BELOW DECISIONS.

SOLUTION 1:

-> Launch Android Studio as an administrator (this is only required for the first launch or when there are any problems due to automatic updates for any launch in the future).

Although it shows that API 23 or any other updates have not been installed (and the “Retry” buttons will not be displayed), BUT, the download and installation of the remaining updates will continue (you can see that the process of increasing the load even after viewing the above errors ) Therefore, DO NOT START the operation.

-> At the end of the installation (after installing the remaining successful updates) this time, the “Retry” button will be displayed to retry the installation for API 23 or any other versions that previously failed. Then click the "Retry" button, this will work this time.

This will solve your problem with a successful installation.

-> Next time, you do not need to run Android studio as an administrator if it does not perform any automatic updates and does not show similar problems.

SOLUTION 2:

-> An alternative approach is to first install any updates (that have never been performed on the first attempt) from the Android SDK Manager, and then launch Android Studio (which does not require checking for updates and any additional installations).

To install any functions or updates, run the Android SDK manager as an administrator (running as an administrator is not required, but prefers to avoid any problems related to permissions) and check the necessary parameters and continue the installation without any problems.

SOLUTION 3:

-> If your problem persists, try the proxy server solution, as suggested by others, or check your Internet connection if it works correctly or not.

* Any of the above solutions should solve your problems.

+1
Jan 28 '16 at 19:49
source share

I just run: C: \ Users [Username] \ AppData \ Local \ Android \ sdk \ SDK Manager.exe

Install SDK Platform Android M Preview

enter image description here

And launch Android Studio again.

This works for me: D

0
Jul 12 '15 at 9:09
source share

I am using UBUNTU and I have the same error. I restarted the setup using sudo and performed the normal installation. This solved my problem!

- More specific -

reinstalled using # sudo./studio.sh

then I definitely launched "Custom Install"

then I made sure that all packages were selected.

And I got this message Android device Android Nexus_5_API_22_x86 was created successfully

0
Aug 15 '15 at 0:17
source share

When this error occurred, I first clicked on the retry several times and waited 2 minutes and clicked "try again", and then installed it without errors (within 2 minutes I searched for this problem online).

0
Jul 14 '17 at 21:28
source share

I got an “out of space” error that left me scratching my head because I had enough free disk space until I realized that it /tmp ran out of free space, which on Arch Linux is set to tmpfs with a size limit.

0
Nov 18 '17 at 1:18
source share



All Articles