Android SDK 管理器不显示要安装的软件包
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11314359/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android SDK manager does not show packages to be installed
提问by Avrum
I have installed Android SDK and packages. Since I had an error when opening a new project on Eclipse, I decided to uninstall SDK and install again. The problem now is that I am not seeing the packages to install, I can only see Android SDK tools.
我已经安装了 Android SDK 和软件包。由于我在Eclipse上打开一个新项目时出现错误,我决定卸载SDK并重新安装。现在的问题是我没有看到要安装的包,我只能看到 Android SDK 工具。
How can I re-install it and see all the packages?
如何重新安装它并查看所有软件包?
采纳答案by Devunwired
The problem now is that I am not seeing the packages to install, I can only see Android SDK tools.
现在的问题是我没有看到要安装的包,我只能看到 Android SDK 工具。
Install that package first, and all the others will then appear (you may need to restart the manager).
首先安装该软件包,然后会出现所有其他软件包(您可能需要重新启动管理器)。
回答by Nodman
For everyone who got this problem: Open SDK Manager click tools in the top menu -> options and turn on force h?ttps://...sources
对于遇到此问题的每个人:打开 SDK Manager 单击顶部菜单中的工具 -> 选项并打开 force h?ttps://...sources
回答by Hariram
I also got the same issue when i run my SDK i was getting nothing but android SDK tools & Extras without any branches. Proxy which i was using was not allowing SDK manager to download all the items.
当我运行我的 SDK 时,我也遇到了同样的问题,我除了没有任何分支的 android SDK 工具和附加程序之外什么都没有。我使用的代理不允许 SDK 管理器下载所有项目。
- Open SDK Manager Tool -> options -> Give the proxy settings Packages -> Reload
- 打开 SDK Manager Tool -> options -> 给代理设置 Packages -> Reload
Above 3 steps reloaded all the package which i was longing to see for 2 days :).
以上 3 个步骤重新加载了我渴望看到 2 天的所有包裹:)。
If not for all atleast for few folks this might help
如果不是至少对少数人来说,这可能会有所帮助
Thanks Hari
谢谢哈里
回答by ali
For those already having this problem:
You maybe should change proxy settings.
对于那些已经遇到此问题的人:
您可能应该更改代理设置。
I test the proxy settings inside the SDK Manager Tool. But not helpful.
我在 SDK Manager Tool 中测试了代理设置。但没有帮助。
- Open Java Control Panel inside control panel
- Change proxy settings under Network Settings
- 在控制面板内打开 Java 控制面板
- 在网络设置下更改代理设置
回答by gopal
Try this Tools > Options > Clear Cache, then Packages > Reload, all from the SDK Manager window.
试试这个工具 > 选项 > 清除缓存,然后包 > 重新加载,所有这些都来自 SDK 管理器窗口。
回答by omidboxter
I use VPN software, so in Android Studio I went to Default Settings -> System Settings -> HTTP Proxyand checked Auto-detect proxy settings. It works for me.
我使用 VPN 软件,因此在 Android Studio 中,我转到Default Settings -> System Settings -> HTTP Proxy并选中Auto-detect proxy settings。这个对我有用。
回答by user134167
To everyone having this issue, I was able to fix it by installing the required dependencies through the terminal with:
对于遇到此问题的每个人,我能够通过终端安装所需的依赖项来修复它:
sudo apt-get install libc6-dev-i386 lib32z1 default-jdk.
sudo apt-get install libc6-dev-i386 lib32z1 default-jdk。
After that, all the other API packages showed up
之后,所有其他 API 包都出现了
回答by user134167
Use VPN to connect google servers and fetching packages
使用VPN连接谷歌服务器和获取包
回答by strider
On Windows, right click SDK Manager in android-sdk
home directory and Run as administrator
. That solved it for me.
在 Windows 上,右键单击android-sdk
主目录中的SDK Manager和Run as administrator
. 那为我解决了。
回答by sumit_suthar
Run SDK Manager as an Administrator.
以管理员身份运行 SDK Manager。
Do the following 2 Steps
执行以下2个步骤
- Right click on SDK Manager.
- select run as an Administrator.
- 右键单击 SDK 管理器。
- 选择以管理员身份运行。