In my application im using this:
private LayoutParams params;
And im getting error on it since it need api level 11.
So in my manifest file I changed this line from 8 to 11:
<uses-sdk android:minSdkVersion="11" />
Now im not getting errors in the eclipse.
But once im trying to run the application I see this Android Device Chooser window and I see there on my device that the target is 2.2 with red X near it.
If I click OK and try to run it im getting an error in the Console window in the Eclipse:
[2013-01-22 09:43:33 - AndroidVideoCapture] ERROR: Application requires API version 11. Device API version is 8 (Android 2.2).
[2013-01-22 09:43:33 - AndroidVideoCapture] Launch canceled!
How can I update my device to api 11 ? I have a waiting software update on my device but each time I click INSTALL it’s trying to restart but in fact it’s shutting down the device and do nothing all I can do is to take out the batteries and turn on my device again but then again it will prompt for this software update.
What else can I do ? (Didn’t find in google where to download api 11 if there is any).
Well , Have a glance of this to update the eclipse to 3.6
http://developer.android.com/tools/sdk/eclipse-adt.html
or change the manifest file code as.