Eclipse: keep getting "ERROR: the app requires API version 15. API device version version 14 (Android 4.0.2)."

I tested the Android application on a device with API version 15 installed. Now I need to switch to another device (Samsung Galaxy Nexus, if that matters), which has version 14. Despite the fact that I changed the “project creation goal” from Google API 15-15, I still get the following message when I try to run the application on a new device:

ERROR: the application requires API version 15. Version of the API device version 14 (Android 4.0.2).

Cleaning all the projects did not help. Restarting Eclipse did not help. I created a simple new test application with target = 14 and it worked perfectly.

Why are changes to the old project not taking effect?

Thank!

+3
source share
1 answer

You must change minSdkVersionin AndrodManifest.xml. See this post and blog post for a detailed description of it.

+5
source

All Articles