How to filter unwanted packages in Android SDK?

The Android SDK updater displays many different system images. I do not need them. Is it possible to check which packages are of interest to me in Android Studio

screenshot

However, I cannot uncheck the system image (only Android repository and offline repo can be unchecked).

+6
source share
4 answers

I think it’s important to clarify a couple of things. Let's take a screenshot as a base:

SDK platforms . It includes all Android APIs. if any SDK platform is installed, then it will be part of update tracking.

SDK tools . It includes developer tools. any verified one will be different from update tracking.

SDK update sites . It includes repositories for all resources.

If you do not want to receive any update to any system image, just do not install the images. Then you will not be notified of updates. I'm sure sure. You will receive updates about what you just installed.

If you're still interested in unchecking the Android System Images checkbox, follow these steps:

  • Launch the SDK manager from the SDK platforms by clicking the Launch standalone SDK manager
  • Go to the menu under Tools and click Android Add-on Sites...
  • Uncheck Android System Images
  • Close and what is he πŸ™‚

If you can not click Tools on the menu. Try changing the focus to another window and returning to the SDK manager window. It happens to me on Mac

Android SDK Manager Add-In Sites

Good luck. "

+5
source

Instead of using the update for Android Studio, you can also use the sdkmanager command line, which can be found in your/path/to/Android/sdk/tools/bin/sdkmanager

Using sdkmanager --list you can print a list of all available and install them using sdkmanager "system-images;the_wanted_system_image"

+1
source

I'm not sure why your screenshot shows the SDK Update Sites (where you can choose the update sources, not the updates themselves), but if you select the SDK Platforms tab and then click the Show Package Details button, you can choose what you want to.

enter image description here

0
source

Here is the easiest way for me. Open a run and enter

 %USERPROFILE%\AppData\Local\Android\sdk\system-images 

and delete unnecessary system images from here

-one
source

All Articles