eclipse Android SDK 管理器不加载最新的 Android SDK 平台 (API 17)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14956688/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:01:52  来源:igfitidea点击:

Android SDK Manager doesn't load the latest Android SDK Platform (API 17)

androideclipsegoogle-maps-android-api-2

提问by JibW

When I go to Android SDK Manager from eclipse and trying to Install new packages it doesn't allow me to install any of them.

当我从 Eclipse 转到 Android SDK Manager 并尝试安装新软件包时,它不允许我安装任何软件包。

Most of these new packages depends on installing "Android API 17 SDK platform". But the "Android API 17 SDK platform" doesn't load in the list on the Android SDK Manager for me to install.

大多数这些新包依赖于安装“Android API 17 SDK 平台”。但是“Android API 17 SDK 平台”没有加载到 Android SDK 管理器的列表中供我安装。

Following is a screenshot of the message it displaying to avoid installation.

以下是它为避免安装而显示的消息的屏幕截图。

Would be grateful if someone can guide me through this. Thanks.

如果有人可以指导我完成此操作,将不胜感激。谢谢。

enter image description here

在此处输入图片说明

回答by Yalla T.

Clear the Cache under Tools ---> Options or disable it entirely. I've had problems before with packages not showing because of Cache.

清除工具 ---> 选项下的缓存或完全禁用它。我之前遇到过由于缓存而没有显示包的问题。

After that Make sure the correct Sites are enabled and the Filters under Packages are correct. Then Reload the List or Restart SDK Manager.

之后确保启用了正确的站点并且包下的过滤器正确。然后重新加载列表或重新启动 SDK 管理器。

Your still using Platform tools v12, the current one is v16. Probably because of Cache you cant update the tools and in the old tools some things wont show at all. If none of this works install the current v21 SDK with v16 Platform tools from the Android developer homepage.

您还在使用平台工具 v12,当前是 v16。可能是因为缓存,您无法更新工具,而在旧工具中,有些东西根本不会显示。如果这些都不起作用,请从 Android 开发人员主页安装带有 v16 平台工具的当前 v21 SDK。

This is probably a form of this known issue in R20:

这可能是 R20 中此已知问题的一种形式:

http://tools.android.com/knownissues

http://tools.android.com/knownissues

"Explanation: The SDK Manager in Tools 20.0.0 now has a cache mechanism -- it keeps a local copy of small manifest XML files to perform a faster start when opened. There's also a mechanism to automatically update the cache. However in Tools 20.0.0 and 20.0.1, that refresh is broken and in some conditions the manager will not show new tools that are available unless a reload is performed. Clearing the SDK Manager cache or manually forcing a reload forces the manager to get the latest manifest."

“说明:工具 20.0.0 中的 SDK 管理器现在具有缓存机制——它保留小型清单 XML 文件的本地副本,以便在打开时执行更快的启动。还有一种机制可以自动更新缓存。但是在工具 20.0 中.0 和 20.0.1,刷新被破坏,在某些情况下,除非执行重新加载,否则管理器不会显示可用的新工具。清除 SDK 管理器缓存或手动强制重新加载会强制管理器获取最新清单。 ”

回答by Lisa Anne

Maybe yo should uncheck the "Show" "Installed" at the left bottom, and it shouldshow "SDK Platform".

也许你应该取消选中左下角的“显示”“已安装”,它应该显示“SDK 平台”。

回答by KunalK

Try to reload the sdk manager from Packages -> Reload. and then try to install the sdks.

尝试从 Packages -> Reload 重新加载 sdk 管理器。然后尝试安装 sdks。