Unknown error for Google APIs Intel x86 Atom System Image (Android Studio)

删除回忆录丶 提交于 2019-12-22 03:54:35

问题


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 update Google APIs Intel x86 Atom System Image and I think its holding me back on some features to some apps. How can I fix this?


回答1:


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.




回答2:



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:

FileSettingsAppearance & BehaviourSystem SettingsAndroid SDKSDK 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.




回答3:


I had same problem with android studio and performing below steps solved the problem.

Settings > Appearance & Behavior > System Settings > Updates > Canary Channel > Check Now > Stable Channel > Check Now > Android SDK > Show Package Details > Apply

No Error

Download and Install Update




回答4:


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




回答5:


You need to reinstall it.

  1. Run "SDK Manager" in stand-alone mode, you should see the item marked as broken at the bottom, In "Extras" folder.

  2. Delete the package, "Broken Intel x86...//"

  3. Run the app again. It will be reinstalled.


来源:https://stackoverflow.com/questions/37369775/unknown-error-for-google-apis-intel-x86-atom-system-image-android-studio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!