Eclipse的Andr​​oid的更改API级别 [英] Eclipse Android Change API Level

查看:130
本文介绍了Eclipse的Andr​​oid的更改API级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我创建了Android向导的一个项目,我该如何改变API Package自说1.5到2.1?

Once I have created a project with the Android wizard, how do I change the API Package from say 1.5 to 2.1 ?

我不是指到最小API设置应用程序的XML,我指的是罐子的包括在我的项目到谷歌的API。

I'm not referring to the application xml where the minimum API is set, I'm referring to the jar's included in my project to the Google APIs.

推荐答案

您使用Eclipse,是因为你标记为月食的问题。 如果您使用的是Eclipse正好在你的项目中选择属性,现在单击选择机器人。现在,您应该可以选择其它的构建目标。如果你想在API包改从4复选框7。

Are you using Eclipse for this because you tagged the question with eclipse. If you are using Eclipse just right click on your project select properties now choose android. You should now be able to select another build target. If you want to the API package change the checkbox from 4 to 7.

如果你没有使用Eclipse,并希望使用Android的控制台程序使用的终端程序的Andr​​oid以下列方式

If you are not using Eclipse and want to use the Android console program use the terminal program android in the following way

android update project -p <path to project> -t <new target api level>

这篇关于Eclipse的Andr​​oid的更改API级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆