Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: keep getting "ERROR: Application requires API version 15. Device API version is 14 (Android 4.0.2)."

I've been testing an Android app on a device that had API version 15 installed. I now have to switch to a different device (a Samsung Galaxy Nexus, if it matters) that has version 14. Even though I changed "project build target" from Google APIs 15 to 14, I still get the following message when I try to execute the app on the new device:

ERROR: Application requires API version 15. Device API version is 14 (Android 4.0.2).

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

Why changes to the old project are not taking effect?

Thanks!

like image 645
I Z Avatar asked Mar 17 '26 10:03

I Z


1 Answers

You have to change the minSdkVersion in your AndrodManifest.xml. See this post and the blog entry it is based on for details.

like image 99
mlc Avatar answered Mar 20 '26 00:03

mlc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!