简体   繁体   English

Android SDK Manager不会下载软件包

[英]Android SDK Manager won't download packages

So I tried to download some packages for the Android SDK. 所以我尝试下载Android SDK的一些软件包。 I later decided to delete them but then I found that I would need them, so I'm trying to re-download them, but I can't. 我后来决定删除它们但后来我发现我需要它们,所以我试图重新下载它们,但我不能。 Help me figure this out: 帮帮我解决这个问题:

Preparing to install archives
Downloading Documentation for Android SDK, API 23, revision 1
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-23_r01.zip (Access is denied)
Downloading SDK Platform Android 6.0, API 23, revision 2
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\android-23_r02.zip (Access is denied)
Downloading SDK Platform Android 5.1.1, API 22, revision 2
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\android-22_r02.zip (Access is denied)
Downloading Samples for SDK API 23, revision 2
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-23_r02.zip (Access is denied)
Downloading Samples for SDK API 22, revision 6
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-22_r06.zip (Access is denied)
Downloading ARM EABI v7a System Image, Android API 15, revision 3
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r03.zip (Access is denied)
Downloading Google APIs, Android API 21, revision 1
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-21_r01.zip (Access is denied)
Downloading Google APIs (x86 System Image), Android API 19, revision 17
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis_x86-19_r17.zip (Access is denied)
Downloading Google APIs (ARM System Image), Android API 19, revision 17
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-19_r17.zip (Access is denied)
Downloading Google APIs, Android API 18, revision 4
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-18_r04.zip (Access is denied)
Downloading Google APIs, Android API 17, revision 4
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-17_r04.zip (Access is denied)
Downloading Google APIs, Android API 16, revision 4
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-16_r04.zip (Access is denied)
Downloading Google APIs, Android API 15, revision 3
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\google_apis-15_r03.zip (Access is denied)
Downloading Sources for Android SDK, API 23, revision 1
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-23_r01.zip (Access is denied)
Downloading Sources for Android SDK, API 22, revision 1
URL not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-22_r01.zip (Access is denied)
Skipping 'Android TV ARM EABI v7a System Image, Android API 23, revision 2'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Android TV Intel x86 Atom System Image, Android API 23, revision 2'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Android Wear ARM EABI v7a System Image, Android API 23, revision 1'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Android Wear Intel x86 Atom System Image, Android API 23, revision 1'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'ARM EABI v7a System Image, Android API 23, revision 3'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Intel x86 Atom_64 System Image, Android API 23, revision 5'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Intel x86 Atom System Image, Android API 23, revision 5'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Android TV ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Android TV Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Android Wear ARM EABI v7a System Image, Android API 22, revision 7'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Android Wear Intel x86 Atom System Image, Android API 22, revision 7'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Intel x86 Atom_64 System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Google APIs, Android API 23, revision 1'; it depends on 'SDK Platform Android 6.0, API 23, revision 2' which was not installed.
Skipping 'Google APIs, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 21, revision 9'; it depends on 'Google APIs, Android API 21, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 21, revision 9'; it depends on 'Google APIs, Android API 21, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 21, revision 9'; it depends on 'Google APIs, Android API 21, revision 1' which was not installed.
Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 23, revision 7'; it depends on 'Google APIs, Android API 23, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 23, revision 9'; it depends on 'Google APIs, Android API 23, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 23, revision 9'; it depends on 'Google APIs, Android API 23, revision 1' which was not installed.
Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 22, revision 1'; it depends on 'Google APIs, Android API 22, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 22, revision 1'; it depends on 'Google APIs, Android API 22, revision 1' which was not installed.
Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 22, revision 1'; it depends on 'Google APIs, Android API 22, revision 1' which was not installed.
Done. Nothing was installed.

You should run Android SDK Manager in Administrator mode if you're on Windows. 如果您使用的是Windows,则应以管理员模式运行Android SDK Manager。 Had the problem once, it should fix the rights problem. 有问题一次,它应该解决权利问题。

If you are using from proxy (First enable your proxy): 如果您使用代理(首先启用您的代理):

在此输入图像描述

After above works, in Android SDK Manager -->select Packages --> Reload . 完成上述工作后,在Android SDK Manager - >选择Packages - > Reload

You can download packages with proxy now. 您现在可以使用代理下载软件包。

If you can't download, you can use from this link : androidsdkoffline 如果您无法下载,可以使用以下链接: androidsdkoffline

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM