从 Android SDK Manager 下载时出现“请求失败,状态代码 403”错误

从 Android SDK Manager 下载时出现“请求失败,状态代码 403”错误

当我在 Android Studio 中下载工具和 SDK 时,到处都遇到以下错误:

Packages to install: 
- Sources for Android 31 (sources;android-31)
- Android SDK Platform 31 (platforms;android-31)
Preparing "Install Sources for Android 31 (revision 1)".
Downloading http://dl.google.com/android/repository/sources-31_r01.zip
An error occurred while preparing SDK package Sources for Android 31: Request failed with status code 403.
"Install Sources for Android 31 (revision 1)" failed.
Preparing "Install Android SDK Platform 31 (revision 1)".
Downloading http://dl.google.com/android/repository/platform-31_r01.zip
An error occurred while preparing SDK package Android SDK Platform 31: Request failed with status code 403.
"Install Android SDK Platform 31 (revision 1)" failed.
Failed packages:
- Sources for Android 31 (sources;android-31)
- Android SDK Platform 31 (platforms;android-31)

相关内容