Android 4.4 ( KITKAT ) API LEVEL 19 未在 Android SDK 管理器中列出

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

Android 4.4 ( KITKAT ) API LEVEL 19 is not listed in Android SDK Manager

androideclipseandroid-manifest

提问by My God

As its apparent that Android 4.4 ( KITKAT ) API Level: 19is now available.

很明显,Android 4.4 ( KITKAT ) API Level: 19现在可用。

I just want to update to the latest API Level and then change the android:targetSdkVersion="19"in the manifest file.

我只想更新到最新的 API 级别,然后更改android:targetSdkVersion="19"清单文件中的 。

I clicked on Android SDK Managerusing Eclipse Java EE IDE for Web Developershaving Version: Helios Service Release 2.

我点击Android SDK Manager使用Eclipse Java EE IDE for Web Developers具有Version: Helios Service Release 2.

The Android SDK Manager opened but I didn't found Android API Level: 19in the list of Packages.

Android SDK 管理器打开了,但我没有Android API Level: 19在包列表中找到。

Further I saw other SO posts mentioning that if you clear the cache under Tools -> Optionsin Android SDK Manager and reload the Android SDK Manager then you will get this API listed in packages.

此外,我看到其他 SO 帖子提到,如果您清除Tools -> OptionsAndroid SDK 管理器中的缓存并重新加载 Android SDK 管理器,那么您将在包中列出此 API。

I did the same but no luck.

我做了同样的但没有运气。

The screenshot below-

下面的截图——

enter image description here

在此处输入图片说明

采纳答案by My God

Upgrading to latest "Android SDK tools"was the solution although that was not straight forward and required a little tweak. It required to first update the ADT.

升级到最新的“Android SDK 工具”是解决方案,尽管这并不简单,需要稍作调整。它需要首先更新 ADT。

Once the ADT was updated, I reloaded the "Android SDK Manager". Now, there was no Tools preview channel listed as installed in Android SDK Manager and reloading the Manager asked for either to install "Tools"OR "Tools(Preview Channel)".

ADT 更新后,我重新加载了“Android SDK Manager”。现在,Android SDK 管理器中没有列为已安装的工具预览频道,重新加载管理器要求安装"Tools""Tools(Preview Channel)"

I did the install for "Tools"and it worked.

我为“工具”进行了安装,并且成功了。

Meanwhile, the link helpful to sort out the problem was -

同时,有助于解决问题的链接是-

Update Android SDK Tool to the latest version.

将 Android SDK Tool 更新到最新版本

During process, it was giving timed out errorand there was no direct update allowed.

在过程中,它正在给予,timed out error并且不允许直接更新。

So, as mentioned in the linked post, I first updated the ADT to the latest and then I installed the "SDK Tools"for the recently updated ADT.

因此,如链接帖子中所述,我首先将 ADT 更新为最新版本,然后为最近更新的 ADT安装了“SDK 工具”

Then once I get the recent "SDK Tools", it was all set.

然后,一旦我获得了最近的“SDK 工具”,一切就都设置好了。

Since it was the new install of ADT, so there was no "Tools (Preview Channel)"already installed as was before. However, it is now your choice what Tool you want to install. I installed "Tools".

由于是新安装的ADT,所以没有像以前那样已经安装了“工具(预览频道)”。但是,现在您可以选择要安装的工具。我安装了“工具”

Then I reloaded the "Android SDK Manager"and API 19 appeared.

然后我重新加载了“Android SDK Manager”,API 19 出现了。

回答by Mario

I had the same issue and fixed it by clicking "Packages -> Reload".

我遇到了同样的问题,并通过单击“包 - > 重新加载”来修复它。