Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
297 views
in Technique[技术] by (71.8m points)

Android Studio AVD Manager cannot update system images

When I open my AVD Manager from Android Studio (version 2.1 Preview 1), I am presented with a banner on my AVD list which reads:

System image update is available (link:)"Update System Images"

When I click on the "Update System Images" link, I am presented with the following mysterious error message:

**Packages Unavailable**

 The following packages are not available:
    - Package id system-images;android-MNC;default;x86_64
    - Package id system-images;android-MNC;default;x86

I don't know what this means or how to resolve it. Web searches have been fruitless. Any ideas?

Here is what I am seeing: enter image description here

In response to Zayin, here is what I see when I look for the MNC system images. There doesn't appear to even be an option for installing them. enter image description here

question from:https://stackoverflow.com/questions/35925627/android-studio-avd-manager-cannot-update-system-images

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I had the same error before. Just open the package manager and delete/uninstall everything for Android M (API 22 MNC Preview). Marshmallow is already out anyway.

You may have to restart Android Studio afterward cause it caches that check.

The M release has been removed from the packages for some reason after the Marshmallow release and I think that error means he can't find the upgrade to those images. When you wipe them out it stop complaining and you do not see them anymore on the list of packages.

In Android Studio:

  1. Open SDK Manager. To do that, go to Settings -> Appearance & Behavior -> System Settings -> Android SDK
  2. Make sure you are in the SDK Platform tab
  3. Uncheck Android M (API 22, MNC Preview)
  4. Click "OK"

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...