Android Studio无法显示下载其他API版本的选项求助
Hey there, let's sort out this missing API versions issue in Android Studio together!
How to Download & Display Missing Android API Versions
First, let's make sure you're accessing the right tool to manage your SDK components. Here's a step-by-step breakdown:
- Open Android Studio, then go to File > Settings (Windows/Linux) or Android Studio > Settings (Mac).
- In the Settings window, navigate to Appearance & Behavior > System Settings > Android SDK.
- Switch to the SDK Platforms tab. You'll see a list of Android versions here, but this might be truncated by default.
- Look for the checkbox at the bottom labeled Show Package Details—tick this box. It will expand each API level to show all its sub-components (like system images, source code, etc.), and often unlocks more hidden API versions.
- If you still don't see the API versions you need, head to the SDK Update Sites tab at the top. Make sure all official update sites (especially Android Repository and Google Repository) are enabled. Sometimes these get disabled accidentally after a fresh reinstall.
- Go back to SDK Platforms, click the Refresh icon (the circular arrow in the top-right corner) to reload the full list of available API versions. You should now see more options appear.
- Select the API versions you want to install, click Apply, and let Android Studio handle the download and installation process.
If the above steps don't work, try this quick troubleshooting trick:
- Close Android Studio completely, then navigate to your SDK installation directory (usually
C:\Users\YourName\AppData\Local\Android\Sdkon Windows,~/Library/Android/sdkon Mac). - Delete the
tempandcachefolders inside the SDK directory. This clears any corrupted download cache that might be blocking the API list from loading correctly. - Reopen Android Studio and repeat the earlier steps.
I've dealt with this exact problem after a system reset before—nine times out of ten, it's just the "Show Package Details" checkbox being unchecked or the update sites disabled, so those are the first things to check!
内容的提问来源于stack exchange,提问作者CodeSlayer
相关产品推荐
相关产品推荐

