Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change API version

Tags:

android

I get the error:

ERROR: Application requires API version 11. Device API version is 8 (Android 2.2).

How can I change the API version of my app, I am using eclipse.

Thanks

like image 441
panthro Avatar asked May 13 '26 12:05

panthro


1 Answers

Edit the android:minSdkVersion tag in your AndroidManifest.xml file. Set this value to the lowest level you are targeting...in this case 8.

If you want to compile against a higher API level, but allow the app to run on 2.2 devices, leave the minimum at 8, and add a android:targetSdkVersion parameter set to 11.

HTH

like image 176
devunwired Avatar answered May 15 '26 03:05

devunwired



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!