Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

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)

Why is this happening if I have changed the compilation target?

like image 719
Jav_Rock Avatar asked Jan 02 '12 09:01

Jav_Rock


2 Answers

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

Change the line inside Android manifest

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

and put 13 instead of 14.

like image 157
vgonisanz Avatar answered Sep 24 '22 08:09

vgonisanz


Open AndroidMainfestFile.xml change the SdkVersion there.

like image 21
Andrew Rokicki Avatar answered Sep 23 '22 08:09

Andrew Rokicki