如何在 Eclipse 中将 API 级别 8 更改为 3
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4677401/
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
How to change API level 8 to 3 in Eclipse
提问by Neha
I am using eclipse for android where my API level is 8, i tried project->properties->android-> but here it it showing me only one checkbox for API level 8. please guide me what to do??
我正在使用 eclipse for android,其中我的 API 级别为 8,我尝试了 project->properties->android-> 但在这里它只显示了一个 API 级别 8 的复选框。请指导我该怎么做??
回答by Vikas Patidar
i tried project->properties->android-> but here it it showing me only one checkbox for API level 8. please guide me what to do??
我试过 project->properties->android-> 但在这里它只显示了一个 API 级别 8 的复选框。请指导我该怎么做??
Off course it shows only one checkbox for API level 8, because may be you have downloaded only the SDK Platform Android 2.2, API 8
And API level 3 means you want to run your application on Android 1.5. So you also have to download SDK Platform Android 1.5, API 3
当然,它只显示 API 级别 8 的一个复选框,因为您可能只下载了SDK Platform Android 2.2, API 8
API 级别 3,这意味着您希望在 Android 1.5 上运行您的应用程序。所以你也必须下载SDK Platform Android 1.5, API 3
To download this open the Android SDK and AVD Manager
and click on Available Packages
. Here you can find SDK Platform Android 1.5, API 3
inside the Android Repository
and after downloading this you have to create a new Android Virtual Device
by selecting Target as Android 1.5 API Level 3
. After that you will be able to change API Level 8 to 3
要下载此文件Android SDK and AVD Manager
,请打开并单击Available Packages
。在这里你可以找到SDK Platform Android 1.5, API 3
里面Android Repository
,下载后你必须Android Virtual Device
通过选择 Target as来创建一个新的Android 1.5 API Level 3
。之后,您将能够将 API 级别 8 更改为 3
回答by fmo
First: Install the desidered apis in your AVD-Manager.
首先:在您的 AVD-Manager 中安装所需的 api。
Second: You have also to change the line <uses-sdk android:minSdkVersion="4" />
in your AndroidManifest.xml
第二:您还必须更改<uses-sdk android:minSdkVersion="4" />
AndroidManifest.xml 中的行
best regards
此致
回答by Java_Waldi
Start your SDK and AVD manager, choose "Installed Packages" and delete the unnessecary APIs.
启动您的 SDK 和 AVD 管理器,选择“Installed Packages”并删除不需要的 API。