When I go into the SDK manager in Android Studio, and I go to the tab that says SDK Update Sites, It says \"unknown error\" next to Google Inc. (x86 System Image). I can never u
I felt super stupid. I landed on this page after googling the error. I tried the Invalidate Cache thing. didn't work. Looked deeper into the error and tried doing as it said, manually removing the system image it was trying to overwrite. I couldnt. It was in use. wtf. oh, the emulator i had going slipped past me, it didn't shutdown with the android studio restart and updating.
Closed the emulator and the upgrade finished successfully instantly.
Check for instances of the system image file running, the file from folder C:\Users\NAME\AppData\Local\Android\Sdk\system-images\android-29\google_apis\x86
Just go to File -> Invalidate Cache/restart -> Invalidate Restart. Once done, Android Studio will close and restart. Allow all the updates to be installed and along, Intel Atom x86 system image will also be installed.
If none of the suggested solutions works for you, try to run Android Studio as Administrator.
Also ensure there's enough disk space on the partition which you installed Android Studio on.
It takes approx. 4Gb even though it says ~930mb. Keep that in mind!
To ensure diskspace is not the problem go to:
File
→Settings
→Appearance & Behaviour
→System Settings
→Android SDK
→SDK Platforms
then check [X] Show Package Details
and scroll to the Android package you want to install (e g. "Android 7.1.1 (Nougat)").
Check [X] Google APIs Intel x86 Atom System Image
and hit Apply
. Warning will appear in case of insufficient disk space.
Settings > Appearance & Behavior > System Settings > Updates > Canary Channel > Check Now > Stable Channel > Check Now > Android SDK > Show Package Details > Apply
You need to reinstall it.
Run "SDK Manager" in stand-alone mode, you should see the item marked as broken at the bottom, In "Extras" folder.
Delete the package, "Broken Intel x86...//"