错误:应用程序需要API版本14.设备API的版本是13(安卓3.2.1) [英] ERROR: Application requires API version 14. Device API version is 13 (Android 3.2.1)

查看:319
本文介绍了错误:应用程序需要API版本14.设备API的版本是13(安卓3.2.1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面的教程在机器人创建一个简单的应用程序,并用的Eclipse 的Linux编译它

I am following a tutorial for creating a simple application in Android, and compiling it with Eclipse on Linux.

现在的问题是,当我第一次创建项目时,我使用的目标的 API 14 。但我的平板电脑只有 API 13 ,所以我在项目&GT改变了它;性状>安卓 API 13 。虽然我仍然得到下一个错误:

The problem is that when I first created the project, I used the target API 14. But my tablet only has API 13, so I have changed it in project > properties > android to API 13. Even though I still get next the error:

ERROR: Application requires API version 14. Device API version is 13 (Android 3.2.1)

为什么会出现这种情况,如果我的已经改变了编译目标的?

推荐答案

Android的创建清单与的minSdkVersion,当您更改属性不会自动改变。

Android creates the manifest with minSdkVersion, that doesn't change automatically when you change the properties.

更改线路Android清单里面

Change the line inside Android manifest

<uses-sdk android:minSdkVersion="14" />

和投入14 13代替。

and put 13 instead of 14.

这篇关于错误:应用程序需要API版本14.设备API的版本是13(安卓3.2.1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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