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

后端 未结 15 1337
终归单人心
终归单人心 2020-12-01 13:44

I\'m Windows 7 64-bit user and I got Android Studio problem after I update the latest version of Android Studio and SDK components..

相关标签:
15条回答
  • 2020-12-01 14:07

    enter image description here

    • Choose the new UI Design >> next
    • Just try to cancel the "Downloading Components" from upper right corner 'X' button.
    • A dialog box will appear then click OK (wait a bit for first time launch)
    0 讨论(0)
  • 2020-12-01 14:08

    I just click 'Retry' and it's ok! Also run on Win7 64-bit.

    0 讨论(0)
  • 2020-12-01 14:09

    TRY BELOW SOLUTIONS.

    SOLUTION 1:

    -> Run Android Studio as Administrator (this is only required for first run or when any issues arise due to automatic updates on any run in future).

    Though it shows API 23 is or any other updates are not installed (and wouldn't show any 'Retry' button), BUT still the download and installation of rest of the updates would proceed (you can see the download progress incrementing even after seeing the above errors). So, DO NOT ABORT the operation.

    -> At the end of installation (after rest of successful updates are installed) it would this time display the "Retry" button to retry installation for API 23 or any other versions which had failed earlier. Then click the "Retry" button, it would work this time.

    This would resolve your issue with successful installation.

    -> Next time onward no need to run Android studio as Administrator, unless it does any automatic updates and shows similar issues.

    SOLUTION 2:

    -> Alternative approach is to install any updates (which ever failed in earlier attempt) from Android SDK Manager first and then later launch Android Studio (which would not need any check for updates and any additional installations).

    To install any features or updates, run Android SDK manager as administrator (run as administrator is not mandatory for this but preferred to avoid any permissions related issues) and check the required options and proceed with the installation without any issues.

    SOLUTION 3:

    -> If still your issue is not resolved, then try the proxy solution as suggested by others or check your internet connectivity if it's working properly or not.

    *Any of the above solutions should resolve your issues.

    0 讨论(0)
  • 2020-12-01 14:11

    I had this same problem, but I'm a Linux user.

    I resolved the problem by reattempting the installation with adminstrator privileges. [For those Linux users reading this, I ran studio.sh with sudo.]

    0 讨论(0)
  • 2020-12-01 14:11

    I am using Windows 7 Professional and I was having same problem @Bayu Mohammad Lufty not worked for me.

    I simply delete .AndroidStudio1.2 from my C:\Users\UserName\ and restart my Android studio again. It open Android Studio perfectly! It configured everything again in next start :)

    0 讨论(0)
  • 2020-12-01 14:13

    go to c->users->[Your user account]-> remove android 1.2 and restart the android studio when it ask to import select first radio button which is import setting from previous config

    there you go fixed

    0 讨论(0)
提交回复
热议问题