错误:应用程序需要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. 现...

我下面的教程在机器人创建一个简单的应用程序,并用的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.

阅读全文

相关推荐

最新文章