Android:如何在 Eclipse 中更新新的 API 级别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11946066/
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:How to update new API levels in Eclipse
提问by Dileep Perla
In Eclipse(Helios) I am getting the android API level upto 13(Android 3.2) only. I want to create a project in Android 4.0, but when I create a new project, I am getting the target API level upto 13 only. I had updated the ADT and SDK Platform tools to latest version. Even in the AVD manager, when I create a new AVD, target version appears upto API level 13 only.
在 Eclipse(Helios) 中,我仅将 android API 级别提高到 13(Android 3.2)。我想在 Android 4.0 中创建一个项目,但是当我创建一个新项目时,我只能将目标 API 级别提高到 13。我已将 ADT 和 SDK 平台工具更新到最新版本。即使在 AVD 管理器中,当我创建一个新的 AVD 时,目标版本也只显示到 API 级别 13。
采纳答案by Newts
You need to select in eclipse windows mwnu and select Android SDK Manager and it check which API level is not install and select API level that you want to install and then install packages and accept all terms and conditions and install new API.
您需要在 eclipse windows mwnu 中选择并选择 Android SDK Manager,它会检查未安装哪个 API 级别并选择要安装的 API 级别,然后安装软件包并接受所有条款和条件并安装新的 API。
回答by IncrediApp
Open the Android SDK Manager either by clicking it's icon (a green download icon right under Eclipse' drop down menu) or by running: ANDROID_SDK_FOLDER\tools\android.bat
通过单击其图标(Eclipse 下拉菜单下的绿色下载图标)或运行以下命令打开 Android SDK 管理器:ANDROID_SDK_FOLDER\tools\android.bat
And install more SDK platforms
并安装更多的SDK平台